Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater") translateModel(IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.004593/0.004594, allocations: 187.2 kB / 7.46 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6667/0.6667, allocations: 130.6 MB / 138.5 MB, free: 2.203 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.525/1.525, allocations: 221.3 MB / 391.4 MB, free: 13.01 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.001009/0.001009, allocations: 105 kB / 473.5 MB, free: 14.31 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 9.418e-06/9.438e-06, allocations: 1.625 kB / 0.5479 GB, free: 89.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.2084, allocations: 81.58 MB / 0.6276 GB, free: 18.17 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.346/1.555, allocations: 373.6 MB / 0.9924 GB, free: 238.7 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003673/1.555, allocations: 91.08 kB / 0.9925 GB, free: 238.6 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.015/2.571, allocations: 247 MB / 1.234 GB, free: 156.2 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002088/2.571, allocations: 38.8 kB / 1.234 GB, free: 156.2 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.003701/2.575, allocations: 1.191 MB / 1.235 GB, free: 155.7 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.14e-05/2.575, allocations: 15.94 kB / 1.235 GB, free: 155.7 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001051/2.576, allocations: 143.6 kB / 1.235 GB, free: 155.6 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02096/2.597, allocations: 7.81 MB / 1.243 GB, free: 155.2 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/2.597, allocations: 21.5 kB / 1.243 GB, free: 155.2 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004296/2.597, allocations: 48.72 kB / 1.243 GB, free: 155.2 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002086/2.6, allocations: 0.6594 MB / 1.243 GB, free: 155.2 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002353/2.602, allocations: 0.8698 MB / 1.244 GB, free: 155 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.139e-05/2.602, allocations: 7.062 kB / 1.244 GB, free: 155 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001507/2.602, allocations: 3.891 kB / 1.244 GB, free: 155 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.006e-05/2.602, allocations: 22.66 kB / 1.244 GB, free: 155 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008117/2.61, allocations: 4.494 MB / 1.249 GB, free: 152.4 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004432/2.611, allocations: 309.3 kB / 1.249 GB, free: 152.4 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003516/2.611, allocations: 257.8 kB / 1.249 GB, free: 152.4 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004343/2.612, allocations: 433.8 kB / 1.25 GB, free: 151.9 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.807e-05/2.612, allocations: 41.67 kB / 1.25 GB, free: 151.9 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=40): time 3.787e-06/2.612, allocations: 6.75 kB / 1.25 GB, free: 151.9 MB / 0.6667 GB Notification: Performance of matching and sorting (n=40): time 0.00164/2.613, allocations: 0.5504 MB / 1.25 GB, free: 151.8 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/2.613, allocations: 55.28 kB / 1.25 GB, free: 151.7 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001347/2.615, allocations: 0.7944 MB / 1.251 GB, free: 151.6 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 9.36e-05/2.615, allocations: 28.77 kB / 1.251 GB, free: 151.6 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003191/2.615, allocations: 386.8 kB / 1.251 GB, free: 151.4 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.000177/2.615, allocations: 137.4 kB / 1.252 GB, free: 151.3 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.242e-05/2.615, allocations: 0 / 1.252 GB, free: 151.3 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.344e-05/2.616, allocations: 334.9 kB / 1.252 GB, free: 151 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000277/2.616, allocations: 219 kB / 1.252 GB, free: 151 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004136/2.616, allocations: 430.5 kB / 1.253 GB, free: 150.8 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005631/2.617, allocations: 320.7 kB / 1.253 GB, free: 150.7 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.738e-06/2.617, allocations: 3.781 kB / 1.253 GB, free: 150.7 MB / 0.6667 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00141/2.618, allocations: 0.7439 MB / 1.254 GB, free: 150.7 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005938/2.619, allocations: 2.185 MB / 1.256 GB, free: 148.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.708e-05/2.619, allocations: 7.469 kB / 1.256 GB, free: 148.4 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002437/2.619, allocations: 67.23 kB / 1.256 GB, free: 148.4 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003772/2.62, allocations: 110 kB / 1.256 GB, free: 148.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005206/2.62, allocations: 0.6339 MB / 1.256 GB, free: 147.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009964/2.621, allocations: 94.91 kB / 1.257 GB, free: 147.8 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.161e-05/2.621, allocations: 31.8 kB / 1.257 GB, free: 147.8 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/2.621, allocations: 3.938 kB / 1.257 GB, free: 147.8 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001031/2.622, allocations: 0.6255 MB / 1.257 GB, free: 147.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/2.622, allocations: 10.09 kB / 1.257 GB, free: 147.8 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001614/2.622, allocations: 58.02 kB / 1.257 GB, free: 147.8 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003476/2.623, allocations: 115.8 kB / 1.257 GB, free: 147.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001532/2.624, allocations: 1.585 MB / 1.259 GB, free: 146.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008883/2.625, allocations: 80.34 kB / 1.259 GB, free: 146.5 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-05/2.625, allocations: 29.19 kB / 1.259 GB, free: 146.5 MB / 0.6667 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.0002121/2.626, allocations: 120.5 kB / 1.259 GB, free: 146.4 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002556/2.626, allocations: 92.47 kB / 1.259 GB, free: 146.3 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001181/2.627, allocations: 0.6328 MB / 1.26 GB, free: 146.3 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/2.627, allocations: 3.625 kB / 1.26 GB, free: 146.3 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/2.627, allocations: 0 / 1.26 GB, free: 146.3 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000859/2.628, allocations: 0.8053 MB / 1.261 GB, free: 145.8 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002853/2.631, allocations: 1.557 MB / 1.262 GB, free: 145.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/2.631, allocations: 6.594 kB / 1.262 GB, free: 145.4 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003411/2.631, allocations: 81.27 kB / 1.262 GB, free: 145.4 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.905e-05/2.631, allocations: 28.95 kB / 1.262 GB, free: 145.4 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.648e-05/2.631, allocations: 5.844 kB / 1.262 GB, free: 145.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003166/2.632, allocations: 0.5752 MB / 1.263 GB, free: 144.9 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/2.632, allocations: 3.75 kB / 1.263 GB, free: 144.9 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00131/2.633, allocations: 0.9999 MB / 1.264 GB, free: 144.6 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005873/2.633, allocations: 257.5 kB / 1.264 GB, free: 144.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000203/2.634, allocations: 10.8 kB / 1.264 GB, free: 144.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007234/2.634, allocations: 56.5 kB / 1.264 GB, free: 144.5 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.513e-05/2.635, allocations: 30.47 kB / 1.264 GB, free: 144.5 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.224e-05/2.635, allocations: 26.05 kB / 1.264 GB, free: 144.5 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0008356/2.635, allocations: 0.6237 MB / 1.265 GB, free: 144.4 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002269/2.638, allocations: 0.5598 MB / 1.265 GB, free: 144.3 MB / 0.6667 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.001065/2.639, allocations: 400.5 kB / 1.266 GB, free: 144.2 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001643/2.64, allocations: 0.9684 MB / 1.267 GB, free: 144 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/2.64, allocations: 3.906 kB / 1.267 GB, free: 144 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003252/2.641, allocations: 234.5 kB / 1.267 GB, free: 144 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002645/2.643, allocations: 0.518 MB / 1.267 GB, free: 144 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003561/2.647, allocations: 1.658 MB / 1.269 GB, free: 143.7 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001328/2.648, allocations: 1.336 MB / 1.27 GB, free: 142.9 MB / 0.6667 GB Notification: Performance of SimCode: time 1.042e-06/2.648, allocations: 0 / 1.27 GB, free: 142.9 MB / 0.6667 GB Notification: Performance of Templates: time 0.04083/2.689, allocations: 21.66 MB / 1.291 GB, free: 142.5 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.makefile (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe 2>&1)