Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.002537/0.002537, allocations: 177.6 kB / 7.447 MB, free: 2.309 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6789/0.6789, allocations: 130.6 MB / 138.5 MB, free: 2.188 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 221.3 MB / 391.4 MB, free: 13.02 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.0009316/0.0009316, allocations: 100.2 kB / 473.4 MB, free: 14.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.392e-06/6.422e-06, allocations: 0 / 0.5479 GB, free: 89.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1367, allocations: 81.57 MB / 0.6276 GB, free: 18.2 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.263/3.399, allocations: 1.878 GB / 2.505 GB, free: 4.457 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001982/3.4, allocations: 91.88 kB / 2.505 GB, free: 4.371 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.876/5.276, allocations: 0.611 GB / 3.116 GB, free: 127.4 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001357/5.276, allocations: 27.17 kB / 3.116 GB, free: 127.4 MB / 0.6667 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.0035/5.28, allocations: 1.303 MB / 3.118 GB, free: 126.7 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/5.28, allocations: 10.44 kB / 3.118 GB, free: 126.7 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003362/5.283, allocations: 390 kB / 3.118 GB, free: 126.7 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002773/5.286, allocations: 1.062 MB / 3.119 GB, free: 126.4 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.211e-05/5.286, allocations: 15.16 kB / 3.119 GB, free: 126.4 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001761/5.286, allocations: 35.19 kB / 3.119 GB, free: 126.4 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009904/5.287, allocations: 0.5287 MB / 3.12 GB, free: 126.4 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/5.288, allocations: 0.5025 MB / 3.12 GB, free: 126.3 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/5.288, allocations: 0.5 kB / 3.12 GB, free: 126.3 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.222e-05/5.288, allocations: 6.609 kB / 3.12 GB, free: 126.3 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.12e-05/5.288, allocations: 17.19 kB / 3.12 GB, free: 126.3 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004786/5.293, allocations: 2.649 MB / 3.123 GB, free: 125.6 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007755/5.294, allocations: 0.5048 MB / 3.123 GB, free: 125.6 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004302/5.295, allocations: 305 kB / 3.123 GB, free: 125.6 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003663/5.295, allocations: 289.6 kB / 3.124 GB, free: 125.3 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/5.295, allocations: 40.41 kB / 3.124 GB, free: 125.2 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=44): time 3.757e-06/5.295, allocations: 0 / 3.124 GB, free: 125.2 MB / 0.6667 GB Notification: Performance of matching and sorting (n=44): time 0.001682/5.297, allocations: 0.7103 MB / 3.124 GB, free: 125.2 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.358e-05/5.297, allocations: 55.34 kB / 3.124 GB, free: 125.1 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001424/5.298, allocations: 0.9628 MB / 3.125 GB, free: 125 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 7.354e-05/5.298, allocations: 29.58 kB / 3.125 GB, free: 124.9 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/5.298, allocations: 262.4 kB / 3.126 GB, free: 124.8 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/5.298, allocations: 144 kB / 3.126 GB, free: 124.7 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.31e-05/5.299, allocations: 0 / 3.126 GB, free: 124.7 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 5.353e-05/5.299, allocations: 326.7 kB / 3.126 GB, free: 124.4 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003035/5.299, allocations: 234.1 kB / 3.126 GB, free: 124.4 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004301/5.299, allocations: 450.7 kB / 3.127 GB, free: 124.2 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004098/5.3, allocations: 291 kB / 3.127 GB, free: 124.2 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/5.3, allocations: 0 / 3.127 GB, free: 124.2 MB / 0.6667 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001046/5.301, allocations: 0.6648 MB / 3.128 GB, free: 124.1 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.343e-05/5.301, allocations: 95.91 kB / 3.128 GB, free: 124 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/5.301, allocations: 0 / 3.128 GB, free: 124 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/5.301, allocations: 3.812 kB / 3.128 GB, free: 124 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007683/5.302, allocations: 139.9 kB / 3.128 GB, free: 124 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/5.302, allocations: 3.906 kB / 3.128 GB, free: 124 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001382/5.303, allocations: 127.2 kB / 3.128 GB, free: 124 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-05/5.303, allocations: 36.27 kB / 3.128 GB, free: 124 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 6.943e-06/5.303, allocations: 3.906 kB / 3.128 GB, free: 124 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007937/5.304, allocations: 0.5275 MB / 3.129 GB, free: 124 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.324e-06/5.304, allocations: 3.625 kB / 3.129 GB, free: 124 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.45e-06/5.304, allocations: 7.375 kB / 3.129 GB, free: 124 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007054/5.305, allocations: 138.1 kB / 3.129 GB, free: 124 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.938e-06/5.305, allocations: 0 / 3.129 GB, free: 124 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/5.306, allocations: 124.6 kB / 3.129 GB, free: 124 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.165e-05/5.306, allocations: 35.03 kB / 3.129 GB, free: 124 MB / 0.6667 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.0001456/5.306, allocations: 112.2 kB / 3.129 GB, free: 123.9 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002149/5.307, allocations: 94.5 kB / 3.129 GB, free: 123.8 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001377/5.308, allocations: 0.7462 MB / 3.13 GB, free: 123.8 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/5.308, allocations: 3.156 kB / 3.13 GB, free: 123.8 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/5.308, allocations: 7.203 kB / 3.13 GB, free: 123.8 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/5.308, allocations: 0 / 3.13 GB, free: 123.8 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002749/5.311, allocations: 1.83 MB / 3.132 GB, free: 123.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/5.311, allocations: 2.562 kB / 3.132 GB, free: 123.4 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006644/5.311, allocations: 119.1 kB / 3.132 GB, free: 123.4 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.428e-05/5.311, allocations: 12.06 kB / 3.132 GB, free: 123.4 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.374e-05/5.311, allocations: 11.05 kB / 3.132 GB, free: 123.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.264e-06/5.311, allocations: 4.953 kB / 3.132 GB, free: 123.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/5.312, allocations: 6.656 kB / 3.132 GB, free: 123.4 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00157/5.313, allocations: 1.23 MB / 3.133 GB, free: 123 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005061/5.314, allocations: 298.1 kB / 3.133 GB, free: 122.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002185/5.314, allocations: 7.781 kB / 3.133 GB, free: 122.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00119/5.315, allocations: 81.75 kB / 3.133 GB, free: 122.8 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/5.315, allocations: 41.58 kB / 3.133 GB, free: 122.8 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.93e-05/5.315, allocations: 23.38 kB / 3.133 GB, free: 122.8 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.001188/5.316, allocations: 0.7439 MB / 3.134 GB, free: 122.6 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001771/5.318, allocations: 0.5131 MB / 3.135 GB, free: 122.5 MB / 0.6667 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.002762/5.321, allocations: 1.832 MB / 3.136 GB, free: 122 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001433/5.322, allocations: 0.8545 MB / 3.137 GB, free: 121.7 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/5.322, allocations: 0.6562 kB / 3.137 GB, free: 121.7 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0004437/5.323, allocations: 293.4 kB / 3.138 GB, free: 121.7 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002037/5.325, allocations: 379.7 kB / 3.138 GB, free: 121.6 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003062/5.328, allocations: 1.306 MB / 3.139 GB, free: 121 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00114/5.329, allocations: 1.171 MB / 3.14 GB, free: 120.3 MB / 0.6667 GB Notification: Performance of SimCode: time 3.01e-07/5.329, allocations: 0 / 3.14 GB, free: 120.3 MB / 0.6667 GB Notification: Performance of Templates: time 0.0476/5.377, allocations: 32.7 MB / 3.172 GB, free: 94.59 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)