Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 183.9 kB / 7.8 MB, free: 2.441 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4547/0.4547, allocations: 90.85 MB / 99.08 MB, free: 14.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.191/1.191, allocations: 221.4 MB / 342.8 MB, free: 5.129 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008933/0.0008932, allocations: 90.22 kB / 415.5 MB, free: 6.438 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 6.853e-06/6.872e-06, allocations: 4 kB / 493.9 MB, free: 8.066 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4141/0.4142, allocations: 72.29 MB / 0.5529 GB, free: 73.29 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.003/4.418, allocations: 1.868 GB / 2.421 GB, free: 210 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002753/4.418, allocations: 84.61 kB / 2.421 GB, free: 209.9 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.825/6.243, allocations: 0.6111 GB / 3.032 GB, free: 50.98 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001632/6.243, allocations: 27.98 kB / 3.032 GB, free: 50.95 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.004051/6.247, allocations: 1.296 MB / 3.034 GB, free: 49.61 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/6.248, allocations: 16.02 kB / 3.034 GB, free: 49.6 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003476/6.251, allocations: 390.2 kB / 3.034 GB, free: 49.21 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00301/6.254, allocations: 1.066 MB / 3.035 GB, free: 48.09 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.98e-05/6.254, allocations: 12 kB / 3.035 GB, free: 48.08 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002107/6.254, allocations: 40 kB / 3.035 GB, free: 48.04 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001009/6.255, allocations: 0.5291 MB / 3.036 GB, free: 47.51 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009088/6.256, allocations: 0.5042 MB / 3.036 GB, free: 47 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/6.256, allocations: 0 / 3.036 GB, free: 47 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.087e-05/6.256, allocations: 0 / 3.036 GB, free: 47 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.02e-05/6.256, allocations: 21 kB / 3.036 GB, free: 46.98 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004955/6.261, allocations: 2.653 MB / 3.039 GB, free: 44.21 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006691/6.262, allocations: 0.4966 MB / 3.039 GB, free: 43.7 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003674/6.262, allocations: 313.4 kB / 3.039 GB, free: 43.39 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003906/6.263, allocations: 287.3 kB / 3.04 GB, free: 43.06 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/6.263, allocations: 39.28 kB / 3.04 GB, free: 43.01 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=44): time 2.535e-06/6.263, allocations: 0 / 3.04 GB, free: 43.01 MB / 0.6042 GB Notification: Performance of matching and sorting (n=44): time 0.001661/6.265, allocations: 0.7031 MB / 3.04 GB, free: 42.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.401e-05/6.265, allocations: 55.41 kB / 3.04 GB, free: 42.23 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001475/6.266, allocations: 0.9648 MB / 3.041 GB, free: 41.25 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.482e-05/6.266, allocations: 29.7 kB / 3.041 GB, free: 41.21 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001665/6.266, allocations: 259.6 kB / 3.042 GB, free: 40.95 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001369/6.266, allocations: 149.8 kB / 3.042 GB, free: 40.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.28e-05/6.267, allocations: 0 / 3.042 GB, free: 40.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.274e-05/6.267, allocations: 322 kB / 3.042 GB, free: 40.48 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003023/6.267, allocations: 236.7 kB / 3.042 GB, free: 40.25 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004317/6.267, allocations: 442.6 kB / 3.043 GB, free: 39.73 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004084/6.268, allocations: 292.8 kB / 3.043 GB, free: 39.45 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/6.268, allocations: 4 kB / 3.043 GB, free: 39.45 MB / 0.6042 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001079/6.269, allocations: 0.6633 MB / 3.044 GB, free: 38.78 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.444e-05/6.269, allocations: 102.7 kB / 3.044 GB, free: 38.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/6.269, allocations: 0 / 3.044 GB, free: 38.67 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/6.269, allocations: 4 kB / 3.044 GB, free: 38.67 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007678/6.27, allocations: 135.8 kB / 3.044 GB, free: 38.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/6.27, allocations: 0 / 3.044 GB, free: 38.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/6.271, allocations: 131.6 kB / 3.044 GB, free: 38.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-05/6.271, allocations: 31.97 kB / 3.044 GB, free: 38.38 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.588e-06/6.271, allocations: 7.938 kB / 3.044 GB, free: 38.37 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007992/6.272, allocations: 0.5344 MB / 3.045 GB, free: 37.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.805e-06/6.272, allocations: 0 / 3.045 GB, free: 37.83 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.579e-06/6.272, allocations: 4 kB / 3.045 GB, free: 37.83 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006947/6.273, allocations: 143.8 kB / 3.045 GB, free: 37.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/6.273, allocations: 0 / 3.045 GB, free: 37.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/6.274, allocations: 127.6 kB / 3.045 GB, free: 37.56 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.955e-05/6.274, allocations: 31.97 kB / 3.045 GB, free: 37.53 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001658/6.275, allocations: 108.9 kB / 3.045 GB, free: 37.42 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002361/6.275, allocations: 94.78 kB / 3.045 GB, free: 37.32 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001398/6.276, allocations: 0.7504 MB / 3.046 GB, free: 36.57 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/6.276, allocations: 4 kB / 3.046 GB, free: 36.56 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.882e-06/6.276, allocations: 0 / 3.046 GB, free: 36.56 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/6.276, allocations: 3.984 kB / 3.046 GB, free: 36.56 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002671/6.279, allocations: 1.829 MB / 3.048 GB, free: 34.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/6.279, allocations: 0 / 3.048 GB, free: 34.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006221/6.28, allocations: 132.1 kB / 3.048 GB, free: 34.53 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.167e-06/6.28, allocations: 7.938 kB / 3.048 GB, free: 34.52 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.502e-05/6.28, allocations: 8 kB / 3.048 GB, free: 34.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/6.28, allocations: 8 kB / 3.048 GB, free: 34.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/6.28, allocations: 4 kB / 3.048 GB, free: 34.5 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001377/6.281, allocations: 1.227 MB / 3.049 GB, free: 33.18 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005403/6.282, allocations: 303.7 kB / 3.049 GB, free: 32.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000218/6.282, allocations: 7.984 kB / 3.049 GB, free: 32.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001178/6.283, allocations: 79.81 kB / 3.049 GB, free: 32.78 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/6.283, allocations: 39.95 kB / 3.049 GB, free: 32.74 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.558e-05/6.283, allocations: 27.98 kB / 3.049 GB, free: 32.71 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0009534/6.284, allocations: 0.7429 MB / 3.05 GB, free: 31.96 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001723/6.286, allocations: 0.5147 MB / 3.051 GB, free: 31.44 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixBox.filter.s[1],mixBox.filter.s[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002444/6.288, allocations: 1.829 MB / 3.052 GB, free: 29.54 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001307/6.29, allocations: 0.8519 MB / 3.053 GB, free: 28.68 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/6.29, allocations: 4 kB / 3.053 GB, free: 28.68 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003729/6.29, allocations: 299.6 kB / 3.054 GB, free: 28.39 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001996/6.292, allocations: 368.6 kB / 3.054 GB, free: 28.03 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002839/6.295, allocations: 1.309 MB / 3.055 GB, free: 26.67 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008271/6.296, allocations: 1.176 MB / 3.056 GB, free: 25.46 MB / 0.6042 GB Notification: Performance of SimCode: time 2.6e-07/6.296, allocations: 0 / 3.056 GB, free: 25.46 MB / 0.6042 GB Notification: Performance of Templates: time 0.2723/6.568, allocations: 32.68 MB / 3.088 GB, free: 144.5 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)