Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.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.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater") translateModel(IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater") [: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.00201/0.00201, allocations: 184.8 kB / 7.463 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6071/0.6071, allocations: 133.5 MB / 141.4 MB, free: 15.78 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.189/1.189, allocations: 221.3 MB / 395 MB, free: 10.24 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.000881/0.0008811, allocations: 97.23 kB / 477.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.123e-06/7.143e-06, allocations: 0 / 0.5528 GB, free: 88.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.122, allocations: 82.3 MB / 0.6332 GB, free: 14.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7776/0.8997, allocations: 373.8 MB / 0.9983 GB, free: 206.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00023/0.8999, allocations: 93.31 kB / 0.9984 GB, free: 206.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.6315/1.531, allocations: 247 MB / 1.24 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.667e-05/1.532, allocations: 35.83 kB / 1.24 GB, free: 169.7 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001404/1.533, allocations: 1.182 MB / 1.241 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.008e-05/1.533, allocations: 7.812 kB / 1.241 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004122/1.533, allocations: 142.5 kB / 1.241 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01446/1.548, allocations: 7.813 MB / 1.249 GB, free: 168.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.681e-05/1.548, allocations: 24.31 kB / 1.249 GB, free: 168.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-05/1.548, allocations: 46.09 kB / 1.249 GB, free: 168.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009222/1.549, allocations: 0.6604 MB / 1.249 GB, free: 168.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000993/1.55, allocations: 0.8775 MB / 1.25 GB, free: 168.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.624e-05/1.55, allocations: 7.281 kB / 1.25 GB, free: 168.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.131e-05/1.55, allocations: 3.156 kB / 1.25 GB, free: 168.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.983e-05/1.55, allocations: 25.38 kB / 1.25 GB, free: 168.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003785/1.554, allocations: 4.5 MB / 1.255 GB, free: 166 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002946/1.554, allocations: 309.5 kB / 1.255 GB, free: 166 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002332/1.554, allocations: 254.1 kB / 1.255 GB, free: 166 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002554/1.555, allocations: 430 kB / 1.256 GB, free: 165.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/1.555, allocations: 37.36 kB / 1.256 GB, free: 165.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=40): time 2.605e-06/1.555, allocations: 0 / 1.256 GB, free: 165.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=40): time 0.000972/1.556, allocations: 0.5603 MB / 1.256 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.643e-05/1.556, allocations: 55.31 kB / 1.256 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000687/1.556, allocations: 0.7947 MB / 1.257 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.497e-05/1.557, allocations: 29.64 kB / 1.257 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/1.557, allocations: 381.7 kB / 1.257 GB, free: 165 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/1.557, allocations: 150.1 kB / 1.257 GB, free: 164.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.936e-05/1.557, allocations: 0 / 1.257 GB, free: 164.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.945e-05/1.557, allocations: 325.2 kB / 1.258 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000216/1.557, allocations: 218.8 kB / 1.258 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003066/1.557, allocations: 434.8 kB / 1.258 GB, free: 164.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004088/1.558, allocations: 324.7 kB / 1.259 GB, free: 164.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/1.558, allocations: 7.812 kB / 1.259 GB, free: 164.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0009848/1.559, allocations: 0.7483 MB / 1.259 GB, free: 164.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002962/1.559, allocations: 2.174 MB / 1.262 GB, free: 162 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/1.559, allocations: 7.656 kB / 1.262 GB, free: 162 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001694/1.559, allocations: 69.42 kB / 1.262 GB, free: 162 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003281/1.56, allocations: 111.1 kB / 1.262 GB, free: 162 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003358/1.56, allocations: 0.6413 MB / 1.262 GB, free: 161.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006591/1.561, allocations: 89.91 kB / 1.262 GB, free: 161.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.426e-05/1.561, allocations: 28.94 kB / 1.262 GB, free: 161.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.58e-06/1.561, allocations: 6.562 kB / 1.262 GB, free: 161.4 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008295/1.562, allocations: 0.6231 MB / 1.263 GB, free: 161.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/1.562, allocations: 3.875 kB / 1.263 GB, free: 161.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001297/1.562, allocations: 59.11 kB / 1.263 GB, free: 161.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003056/1.562, allocations: 111.2 kB / 1.263 GB, free: 161.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001105/1.563, allocations: 1.58 MB / 1.265 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005602/1.564, allocations: 79.3 kB / 1.265 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.019e-05/1.564, allocations: 34.5 kB / 1.265 GB, free: 160.1 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001158/1.564, allocations: 128.1 kB / 1.265 GB, free: 160 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/1.564, allocations: 91.62 kB / 1.265 GB, free: 160 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008901/1.565, allocations: 0.6255 MB / 1.266 GB, free: 159.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/1.565, allocations: 7.375 kB / 1.266 GB, free: 159.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-06/1.565, allocations: 0 / 1.266 GB, free: 159.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006677/1.566, allocations: 0.8132 MB / 1.267 GB, free: 159.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001818/1.567, allocations: 1.566 MB / 1.268 GB, free: 159.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/1.567, allocations: 3.938 kB / 1.268 GB, free: 159.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003074/1.568, allocations: 76.73 kB / 1.268 GB, free: 159.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.518e-05/1.568, allocations: 34.75 kB / 1.268 GB, free: 159 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.558e-05/1.568, allocations: 7.5 kB / 1.268 GB, free: 159 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002226/1.568, allocations: 0.5707 MB / 1.269 GB, free: 158.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.568, allocations: 1.969 kB / 1.269 GB, free: 158.5 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009246/1.569, allocations: 0.9952 MB / 1.27 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003263/1.569, allocations: 258.9 kB / 1.27 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/1.569, allocations: 11.58 kB / 1.27 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005256/1.57, allocations: 60.86 kB / 1.27 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.913e-05/1.57, allocations: 22.22 kB / 1.27 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-05/1.57, allocations: 28.41 kB / 1.27 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0005191/1.571, allocations: 0.6249 MB / 1.271 GB, free: 158 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001393/1.572, allocations: 0.5582 MB / 1.271 GB, free: 157.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005486/1.573, allocations: 389.2 kB / 1.272 GB, free: 157.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001045/1.574, allocations: 0.9707 MB / 1.273 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.574, allocations: 3.312 kB / 1.273 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002456/1.574, allocations: 241.5 kB / 1.273 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001993/1.576, allocations: 0.5119 MB / 1.273 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002056/1.578, allocations: 1.667 MB / 1.275 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006396/1.579, allocations: 1.335 MB / 1.276 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of SimCode: time 2.8e-07/1.579, allocations: 0 / 1.276 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of Templates: time 0.02774/1.606, allocations: 21.65 MB / 1.297 GB, free: 156.2 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe 2>&1)