Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001683/0.001683, allocations: 179.1 kB / 7.458 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5746/0.5746, allocations: 133.5 MB / 141.4 MB, free: 15.68 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.073/1.073, allocations: 221.3 MB / 395 MB, free: 10.19 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008294/0.0008293, allocations: 102.4 kB / 477.8 MB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.44e-06/5.46e-06, allocations: 0 / 0.5528 GB, free: 89.11 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1024, allocations: 82.31 MB / 0.6332 GB, free: 14.09 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.393/2.495, allocations: 1.878 GB / 2.511 GB, free: 68.92 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002026/2.496, allocations: 87.95 kB / 2.511 GB, free: 68.83 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.558/4.054, allocations: 0.611 GB / 3.122 GB, free: 120.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.965e-05/4.054, allocations: 26.11 kB / 3.122 GB, free: 120.9 MB / 0.6823 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.00207/4.056, allocations: 1.303 MB / 3.123 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 2.933e-05/4.056, allocations: 10 kB / 3.123 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0026/4.059, allocations: 388.8 kB / 3.124 GB, free: 120.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001677/4.061, allocations: 1.06 MB / 3.125 GB, free: 120.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/4.061, allocations: 14.56 kB / 3.125 GB, free: 120.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.062e-05/4.061, allocations: 38.75 kB / 3.125 GB, free: 120.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007226/4.061, allocations: 0.5282 MB / 3.125 GB, free: 120.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006898/4.062, allocations: 0.5088 MB / 3.126 GB, free: 120.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/4.062, allocations: 0 / 3.126 GB, free: 120.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.824e-05/4.062, allocations: 0 / 3.126 GB, free: 120.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.158e-05/4.062, allocations: 25.02 kB / 3.126 GB, free: 120.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003189/4.065, allocations: 2.642 MB / 3.128 GB, free: 119.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005636/4.066, allocations: 0.5038 MB / 3.129 GB, free: 119.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003181/4.066, allocations: 308.1 kB / 3.129 GB, free: 119.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002832/4.067, allocations: 297.9 kB / 3.13 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.691e-05/4.067, allocations: 37.53 kB / 3.13 GB, free: 119 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=44): time 1.463e-06/4.067, allocations: 0 / 3.13 GB, free: 119 MB / 0.6823 GB Notification: Performance of matching and sorting (n=44): time 0.001218/4.068, allocations: 0.6993 MB / 3.13 GB, free: 118.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.428e-05/4.068, allocations: 60.47 kB / 3.13 GB, free: 118.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/4.069, allocations: 0.9621 MB / 3.131 GB, free: 118.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.162e-05/4.069, allocations: 29.23 kB / 3.131 GB, free: 118.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/4.069, allocations: 268.6 kB / 3.132 GB, free: 118.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.897e-05/4.069, allocations: 143.5 kB / 3.132 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.085e-05/4.069, allocations: 0 / 3.132 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 3.917e-05/4.069, allocations: 328.9 kB / 3.132 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002756/4.07, allocations: 234 kB / 3.132 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003705/4.07, allocations: 450.2 kB / 3.133 GB, free: 118 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003572/4.07, allocations: 291.6 kB / 3.133 GB, free: 117.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/4.07, allocations: 0 / 3.133 GB, free: 117.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008697/4.071, allocations: 0.6702 MB / 3.134 GB, free: 117.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/4.071, allocations: 91.12 kB / 3.134 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/4.071, allocations: 3.844 kB / 3.134 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/4.071, allocations: 3.156 kB / 3.134 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007117/4.072, allocations: 138.9 kB / 3.134 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/4.072, allocations: 3.906 kB / 3.134 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/4.073, allocations: 127 kB / 3.134 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.371e-05/4.073, allocations: 30.09 kB / 3.134 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.079e-06/4.073, allocations: 11.16 kB / 3.134 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007282/4.074, allocations: 0.5317 MB / 3.134 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-06/4.074, allocations: 0 / 3.134 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.647e-06/4.074, allocations: 7.219 kB / 3.135 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006435/4.075, allocations: 133.6 kB / 3.135 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.924e-06/4.075, allocations: 0 / 3.135 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/4.076, allocations: 130.3 kB / 3.135 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.502e-05/4.076, allocations: 32.69 kB / 3.135 GB, free: 117.7 MB / 0.6823 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.0001069/4.076, allocations: 112.6 kB / 3.135 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/4.076, allocations: 97.66 kB / 3.135 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001161/4.077, allocations: 0.7431 MB / 3.136 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/4.077, allocations: 7.125 kB / 3.136 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/4.077, allocations: 0 / 3.136 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/4.077, allocations: 6.047 kB / 3.136 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001999/4.079, allocations: 1.832 MB / 3.138 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/4.079, allocations: 7 kB / 3.138 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005721/4.08, allocations: 115.6 kB / 3.138 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/4.08, allocations: 10.44 kB / 3.138 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.117e-05/4.08, allocations: 14.61 kB / 3.138 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/4.08, allocations: 7.125 kB / 3.138 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/4.08, allocations: 0 / 3.138 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001171/4.081, allocations: 1.227 MB / 3.139 GB, free: 116.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003483/4.081, allocations: 303.8 kB / 3.139 GB, free: 116.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001639/4.082, allocations: 7.031 kB / 3.139 GB, free: 116.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/4.083, allocations: 87.75 kB / 3.139 GB, free: 116.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.228e-05/4.083, allocations: 31.55 kB / 3.139 GB, free: 116.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.431e-05/4.083, allocations: 29.8 kB / 3.139 GB, free: 116.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0007299/4.083, allocations: 0.7464 MB / 3.14 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001078/4.085, allocations: 0.5094 MB / 3.141 GB, free: 116.5 MB / 0.6823 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.001528/4.086, allocations: 1.836 MB / 3.142 GB, free: 116 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000958/4.087, allocations: 0.856 MB / 3.143 GB, free: 116 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/4.087, allocations: 0 / 3.143 GB, free: 116 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000311/4.087, allocations: 292.7 kB / 3.143 GB, free: 116 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001617/4.089, allocations: 376.2 kB / 3.144 GB, free: 116 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001979/4.091, allocations: 1.314 MB / 3.145 GB, free: 115.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006657/4.092, allocations: 1.165 MB / 3.146 GB, free: 114.9 MB / 0.6823 GB Notification: Performance of SimCode: time 2.4e-07/4.092, allocations: 0 / 3.146 GB, free: 114.9 MB / 0.6823 GB Notification: Performance of Templates: time 0.03596/4.128, allocations: 32.69 MB / 3.178 GB, free: 114.4 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)