Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") [: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.001932/0.001932, allocations: 173.4 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.6102/0.6102, allocations: 133.5 MB / 141.4 MB, free: 15.64 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.169/1.169, 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.0008396/0.0008396, allocations: 113.5 kB / 477.8 MB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.575e-06/7.605e-06, allocations: 2.781 kB / 0.5528 GB, free: 89.38 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1386, allocations: 82.3 MB / 0.6332 GB, free: 14.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7941/0.9328, allocations: 371.9 MB / 0.9964 GB, free: 262.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002038/0.933, allocations: 90.94 kB / 0.9965 GB, free: 262.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.578/2.511, allocations: 0.6725 GB / 1.669 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001335/2.511, allocations: 43.06 kB / 1.669 GB, free: 111.4 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002564/2.514, allocations: 1.448 MB / 1.67 GB, free: 109.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/2.514, allocations: 8.031 kB / 1.67 GB, free: 109.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006984/2.514, allocations: 219 kB / 1.671 GB, free: 109.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04732/2.562, allocations: 23.5 MB / 1.694 GB, free: 86.57 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003555/2.562, allocations: 109.1 kB / 1.694 GB, free: 86.48 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001821/2.562, allocations: 48 kB / 1.694 GB, free: 86.43 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009001/2.563, allocations: 447.9 kB / 1.694 GB, free: 85.99 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001111/2.564, allocations: 0.815 MB / 1.695 GB, free: 85.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.324e-05/2.564, allocations: 4 kB / 1.695 GB, free: 85.09 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.27e-05/2.564, allocations: 0 / 1.695 GB, free: 85.09 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.534e-05/2.564, allocations: 24 kB / 1.695 GB, free: 85.07 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003985/2.568, allocations: 4.332 MB / 1.699 GB, free: 80.62 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003891/2.569, allocations: 241.4 kB / 1.7 GB, free: 80.38 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/2.569, allocations: 144.8 kB / 1.7 GB, free: 80.24 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000543/2.57, allocations: 1.158 MB / 1.701 GB, free: 78.83 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.314e-05/2.57, allocations: 30.56 kB / 1.701 GB, free: 78.79 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=29): time 1.633e-06/2.57, allocations: 0 / 1.701 GB, free: 78.79 MB / 0.6823 GB Notification: Performance of matching and sorting (n=29): time 0.001071/2.571, allocations: 460.2 kB / 1.701 GB, free: 78.33 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.898e-05/2.571, allocations: 59.34 kB / 1.701 GB, free: 78.26 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006619/2.571, allocations: 0.659 MB / 1.702 GB, free: 77.58 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.096e-05/2.571, allocations: 29.7 kB / 1.702 GB, free: 77.55 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/2.572, allocations: 437.6 kB / 1.702 GB, free: 77.11 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.301e-05/2.572, allocations: 102.5 kB / 1.702 GB, free: 77.01 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.732e-05/2.572, allocations: 0 / 1.702 GB, free: 77.01 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.379e-05/2.572, allocations: 326 kB / 1.703 GB, free: 76.69 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/2.572, allocations: 108.8 kB / 1.703 GB, free: 76.58 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000198/2.572, allocations: 299.4 kB / 1.703 GB, free: 76.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004602/2.573, allocations: 190.5 kB / 1.703 GB, free: 76.02 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/2.573, allocations: 7.375 kB / 1.703 GB, free: 76.02 MB / 0.6823 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001116/2.574, allocations: 0.5737 MB / 1.704 GB, free: 75.43 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/2.574, allocations: 4 kB / 1.704 GB, free: 75.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/2.574, allocations: 11.94 kB / 1.704 GB, free: 75.42 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004288/2.574, allocations: 121.8 kB / 1.704 GB, free: 75.29 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004332/2.575, allocations: 129.8 kB / 1.704 GB, free: 75.17 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007696/2.575, allocations: 1.734 MB / 1.706 GB, free: 73.37 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006862/2.576, allocations: 93.78 kB / 1.706 GB, free: 73.28 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.075e-05/2.576, allocations: 31.98 kB / 1.706 GB, free: 73.25 MB / 0.6823 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volQflow.heatPort.Q_flow:VARIABLE(flow=true unit = "W" ) "Heat flow rate (positive if flowing from outside into the component)" type: Real 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 (44): * Single equations (assignments): 41 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000128/2.576, allocations: 130.6 kB / 1.706 GB, free: 73.12 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/2.576, allocations: 102.3 kB / 1.706 GB, free: 73.02 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001151/2.578, allocations: 0.5805 MB / 1.707 GB, free: 72.43 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.787e-06/2.578, allocations: 7.906 kB / 1.707 GB, free: 72.42 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/2.578, allocations: 2.625 kB / 1.707 GB, free: 72.42 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/2.578, allocations: 0 / 1.707 GB, free: 72.42 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001874/2.579, allocations: 1.353 MB / 1.708 GB, free: 71.01 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/2.58, allocations: 4 kB / 1.708 GB, free: 71.01 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003466/2.58, allocations: 89.83 kB / 1.708 GB, free: 70.93 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003665/2.58, allocations: 122.1 kB / 1.708 GB, free: 70.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.491e-05/2.58, allocations: 7.906 kB / 1.708 GB, free: 70.79 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006787/2.581, allocations: 1.71 MB / 1.71 GB, free: 69.01 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/2.581, allocations: 4 kB / 1.71 GB, free: 69.01 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001041/2.582, allocations: 0.7356 MB / 1.711 GB, free: 68.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002775/2.582, allocations: 231.6 kB / 1.711 GB, free: 67.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/2.582, allocations: 7.094 kB / 1.711 GB, free: 67.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006496/2.583, allocations: 89.55 kB / 1.711 GB, free: 67.88 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.806e-05/2.583, allocations: 31.86 kB / 1.711 GB, free: 67.84 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.976e-05/2.583, allocations: 19.98 kB / 1.711 GB, free: 67.82 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0004475/2.584, allocations: 0.4985 MB / 1.712 GB, free: 67.32 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009097/2.585, allocations: 406 kB / 1.712 GB, free: 66.93 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 2,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008629/2.585, allocations: 0.5997 MB / 1.713 GB, free: 66.43 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005882/2.586, allocations: 368.9 kB / 1.713 GB, free: 66.07 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/2.586, allocations: 0 / 1.713 GB, free: 66.07 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003171/2.586, allocations: 217.1 kB / 1.713 GB, free: 65.86 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001565/2.588, allocations: 401.5 kB / 1.713 GB, free: 65.48 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00191/2.59, allocations: 1.24 MB / 1.715 GB, free: 64.19 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005304/2.59, allocations: 1.197 MB / 1.716 GB, free: 62.96 MB / 0.6823 GB Notification: Performance of SimCode: time 2.7e-07/2.59, allocations: 0 / 1.716 GB, free: 62.96 MB / 0.6823 GB Notification: Performance of Templates: time 0.02261/2.613, allocations: 17.24 MB / 1.733 GB, free: 46.15 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1)