Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.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.Validation.CoupledVolumesWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater") translateModel(IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater") [: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.001993/0.001993, allocations: 174.1 kB / 7.458 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6069/0.6069, allocations: 133.5 MB / 141.4 MB, free: 15.63 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.119/1.119, allocations: 221.3 MB / 395 MB, free: 10.16 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.0008053/0.0008053, allocations: 98.61 kB / 477.8 MB, free: 10.73 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.131e-06/6.161e-06, allocations: 0 / 0.5528 GB, free: 89.21 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1048, allocations: 82.31 MB / 0.6332 GB, free: 14.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6889/0.7937, allocations: 373.3 MB / 0.9977 GB, free: 260.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002024/0.7939, allocations: 82.45 kB / 0.9978 GB, free: 260.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.3934/1.187, allocations: 245.9 MB / 1.238 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.274e-05/1.187, allocations: 19.98 kB / 1.238 GB, free: 12.43 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001057/1.188, allocations: 0.8688 MB / 1.239 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/1.188, allocations: 12.03 kB / 1.239 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002907/1.189, allocations: 87.06 kB / 1.239 GB, free: 11.42 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1944/1.383, allocations: 12.45 MB / 1.251 GB, free: 239.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/1.383, allocations: 16.56 kB / 1.251 GB, free: 239.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.661e-05/1.383, allocations: 31.88 kB / 1.251 GB, free: 239.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004274/1.384, allocations: 264.2 kB / 1.251 GB, free: 239.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005053/1.384, allocations: 421.9 kB / 1.252 GB, free: 239.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/1.384, allocations: 3.844 kB / 1.252 GB, free: 239.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.548e-05/1.384, allocations: 7.766 kB / 1.252 GB, free: 239.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/1.384, allocations: 18.38 kB / 1.252 GB, free: 239.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001877/1.386, allocations: 2.666 MB / 1.254 GB, free: 237.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001442/1.386, allocations: 130.9 kB / 1.255 GB, free: 237.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.934e-05/1.386, allocations: 88.86 kB / 1.255 GB, free: 237.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002057/1.387, allocations: 342.3 kB / 1.255 GB, free: 237.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.78e-05/1.387, allocations: 33.84 kB / 1.255 GB, free: 237.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=22): time 1.773e-06/1.387, allocations: 0 / 1.255 GB, free: 237.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=22): time 0.0004049/1.387, allocations: 236.1 kB / 1.255 GB, free: 237.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.389e-05/1.387, allocations: 59.28 kB / 1.255 GB, free: 237.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003693/1.388, allocations: 437.4 kB / 1.256 GB, free: 237.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/1.388, allocations: 29.36 kB / 1.256 GB, free: 237.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.98e-05/1.388, allocations: 271.8 kB / 1.256 GB, free: 236.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.398e-05/1.388, allocations: 75.5 kB / 1.256 GB, free: 236.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.02e-05/1.388, allocations: 3.062 kB / 1.256 GB, free: 236.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.093e-05/1.388, allocations: 361.7 kB / 1.256 GB, free: 236.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.746e-05/1.388, allocations: 77.38 kB / 1.256 GB, free: 236.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/1.388, allocations: 224.8 kB / 1.257 GB, free: 236.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002038/1.388, allocations: 123.4 kB / 1.257 GB, free: 236.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/1.388, allocations: 0 / 1.257 GB, free: 236.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004443/1.389, allocations: 354 kB / 1.257 GB, free: 236.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002079/1.389, allocations: 1.653 MB / 1.259 GB, free: 234.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/1.389, allocations: 3.938 kB / 1.259 GB, free: 234.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/1.389, allocations: 11.7 kB / 1.259 GB, free: 234.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002426/1.389, allocations: 80.98 kB / 1.259 GB, free: 234.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/1.389, allocations: 11.03 kB / 1.259 GB, free: 234.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003572/1.39, allocations: 50.34 kB / 1.259 GB, free: 234.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.647e-05/1.39, allocations: 24.98 kB / 1.259 GB, free: 234.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.19e-06/1.39, allocations: 3.562 kB / 1.259 GB, free: 234.6 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003583/1.39, allocations: 263.4 kB / 1.259 GB, free: 234.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/1.39, allocations: 3.938 kB / 1.259 GB, free: 234.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.071e-06/1.39, allocations: 14.47 kB / 1.259 GB, free: 234.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/1.39, allocations: 79.11 kB / 1.259 GB, free: 234.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/1.39, allocations: 9.906 kB / 1.259 GB, free: 234.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003209/1.391, allocations: 40.84 kB / 1.259 GB, free: 234.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.256e-05/1.391, allocations: 19.31 kB / 1.259 GB, free: 234.6 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * 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 6.72e-05/1.391, allocations: 119.2 kB / 1.259 GB, free: 234.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.047e-05/1.391, allocations: 54.94 kB / 1.259 GB, free: 234.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004285/1.391, allocations: 267 kB / 1.26 GB, free: 234.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/1.391, allocations: 10.22 kB / 1.26 GB, free: 234.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/1.391, allocations: 0 / 1.26 GB, free: 234.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002778/1.391, allocations: 371.6 kB / 1.26 GB, free: 234.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/1.392, allocations: 0.9561 MB / 1.261 GB, free: 233.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/1.393, allocations: 3.844 kB / 1.261 GB, free: 233.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001928/1.393, allocations: 51.22 kB / 1.261 GB, free: 233.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/1.393, allocations: 7.312 kB / 1.261 GB, free: 233.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/1.393, allocations: 3.906 kB / 1.261 GB, free: 233.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/1.393, allocations: 4.031 kB / 1.261 GB, free: 233.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.247e-06/1.393, allocations: 4.406 kB / 1.261 GB, free: 233.7 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004753/1.393, allocations: 0.5985 MB / 1.262 GB, free: 233.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001585/1.393, allocations: 183.5 kB / 1.262 GB, free: 233.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.147e-05/1.393, allocations: 3.812 kB / 1.262 GB, free: 233.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003333/1.394, allocations: 23.5 kB / 1.262 GB, free: 233.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.464e-05/1.394, allocations: 25.2 kB / 1.262 GB, free: 233.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-05/1.394, allocations: 19.11 kB / 1.262 GB, free: 233.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0002574/1.394, allocations: 335.5 kB / 1.262 GB, free: 233.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008584/1.395, allocations: 370.9 kB / 1.263 GB, free: 233.1 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (vol.dynBal.U,vol1.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0005246/1.396, allocations: 393.8 kB / 1.263 GB, free: 233 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004056/1.396, allocations: 391.7 kB / 1.263 GB, free: 233 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.396, allocations: 3.25 kB / 1.263 GB, free: 233 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.992e-05/1.396, allocations: 102.1 kB / 1.263 GB, free: 233 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00128/1.397, allocations: 308.3 kB / 1.264 GB, free: 233 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/1.398, allocations: 0.8201 MB / 1.265 GB, free: 232.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003479/1.399, allocations: 0.9662 MB / 1.266 GB, free: 232 MB / 0.6823 GB Notification: Performance of SimCode: time 2.71e-07/1.399, allocations: 0 / 1.266 GB, free: 232 MB / 0.6823 GB Notification: Performance of Templates: time 0.01603/1.415, allocations: 12.81 MB / 1.278 GB, free: 231.8 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1)