Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater") translateModel(IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001575/0.001575, allocations: 185.6 kB / 7.8 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5079/0.5079, allocations: 90.85 MB / 99.07 MB, free: 14.95 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.271/1.271, allocations: 221.4 MB / 342.7 MB, free: 5.199 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009218/0.0009217, allocations: 97.38 kB / 415.5 MB, free: 6.43 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 6.372e-06/6.532e-06, allocations: 0 / 493.9 MB, free: 8.086 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.316, allocations: 72.31 MB / 0.5529 GB, free: 73.39 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5301/0.8462, allocations: 363.6 MB / 0.9079 GB, free: 11 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002001/0.8464, allocations: 90.88 kB / 0.908 GB, free: 10.95 MB / 0.573 GB Notification: Performance of FrontEnd: time 0.7224/1.569, allocations: 247.6 MB / 1.15 GB, free: 50.99 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001048/1.569, allocations: 27.92 kB / 1.15 GB, free: 50.96 MB / 0.6042 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.001904/1.571, allocations: 0.8646 MB / 1.151 GB, free: 50.05 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/1.571, allocations: 12.03 kB / 1.151 GB, free: 50.04 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005956/1.572, allocations: 83.06 kB / 1.151 GB, free: 49.96 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02709/1.599, allocations: 12.45 MB / 1.163 GB, free: 37.33 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.095e-05/1.599, allocations: 19.94 kB / 1.163 GB, free: 37.31 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.851e-05/1.599, allocations: 27.91 kB / 1.163 GB, free: 37.29 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005349/1.599, allocations: 269.9 kB / 1.163 GB, free: 37.02 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006156/1.6, allocations: 426.1 kB / 1.164 GB, free: 36.57 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/1.6, allocations: 0 / 1.164 GB, free: 36.57 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.711e-05/1.6, allocations: 0 / 1.164 GB, free: 36.57 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.338e-05/1.6, allocations: 20 kB / 1.164 GB, free: 36.55 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002636/1.603, allocations: 2.658 MB / 1.166 GB, free: 33.67 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001583/1.603, allocations: 122.1 kB / 1.166 GB, free: 33.55 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/1.603, allocations: 97.11 kB / 1.166 GB, free: 33.45 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002418/1.603, allocations: 348.6 kB / 1.167 GB, free: 33.04 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.632e-05/1.603, allocations: 30.75 kB / 1.167 GB, free: 33 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=22): time 1.683e-06/1.603, allocations: 4 kB / 1.167 GB, free: 32.99 MB / 0.6042 GB Notification: Performance of matching and sorting (n=22): time 0.0005138/1.604, allocations: 238.5 kB / 1.167 GB, free: 32.76 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.749e-05/1.604, allocations: 51.41 kB / 1.167 GB, free: 32.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004773/1.604, allocations: 442.2 kB / 1.168 GB, free: 32.26 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.815e-05/1.604, allocations: 25.7 kB / 1.168 GB, free: 32.23 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/1.605, allocations: 275.3 kB / 1.168 GB, free: 31.95 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.787e-05/1.605, allocations: 78.84 kB / 1.168 GB, free: 31.87 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.091e-05/1.605, allocations: 0 / 1.168 GB, free: 31.87 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.4e-05/1.605, allocations: 366.8 kB / 1.168 GB, free: 31.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/1.605, allocations: 75.98 kB / 1.168 GB, free: 31.43 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001545/1.605, allocations: 227.2 kB / 1.169 GB, free: 31.14 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002429/1.605, allocations: 133.3 kB / 1.169 GB, free: 31.01 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/1.605, allocations: 4 kB / 1.169 GB, free: 31.01 MB / 0.6042 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005624/1.606, allocations: 349 kB / 1.169 GB, free: 30.66 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003187/1.606, allocations: 1.658 MB / 1.171 GB, free: 28.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/1.606, allocations: 4 kB / 1.171 GB, free: 28.87 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.031e-05/1.606, allocations: 12 kB / 1.171 GB, free: 28.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000283/1.606, allocations: 75.84 kB / 1.171 GB, free: 28.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/1.606, allocations: 4 kB / 1.171 GB, free: 28.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004815/1.607, allocations: 55.56 kB / 1.171 GB, free: 28.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.302e-05/1.607, allocations: 23.94 kB / 1.171 GB, free: 28.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.233e-06/1.607, allocations: 4 kB / 1.171 GB, free: 28.7 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004083/1.607, allocations: 272 kB / 1.171 GB, free: 28.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/1.607, allocations: 4 kB / 1.171 GB, free: 28.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.524e-06/1.607, allocations: 8 kB / 1.171 GB, free: 28.42 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002282/1.608, allocations: 71.91 kB / 1.171 GB, free: 28.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/1.608, allocations: 7.938 kB / 1.171 GB, free: 28.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004124/1.608, allocations: 51.66 kB / 1.171 GB, free: 28.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.849e-05/1.608, allocations: 20 kB / 1.171 GB, free: 28.27 MB / 0.6042 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 0.0001062/1.608, allocations: 112.8 kB / 1.171 GB, free: 28.16 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.425e-05/1.608, allocations: 55.34 kB / 1.171 GB, free: 28.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004955/1.609, allocations: 271.8 kB / 1.172 GB, free: 27.83 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/1.609, allocations: 4 kB / 1.172 GB, free: 27.83 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/1.609, allocations: 3.906 kB / 1.172 GB, free: 27.82 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003048/1.609, allocations: 367.6 kB / 1.172 GB, free: 27.42 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001324/1.611, allocations: 0.9482 MB / 1.173 GB, free: 26.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/1.611, allocations: 4 kB / 1.173 GB, free: 26.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000217/1.611, allocations: 59.81 kB / 1.173 GB, free: 26.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.193e-06/1.611, allocations: 4 kB / 1.173 GB, free: 26.31 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/1.611, allocations: 4 kB / 1.173 GB, free: 26.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/1.611, allocations: 4 kB / 1.173 GB, free: 26.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/1.611, allocations: 3.938 kB / 1.173 GB, free: 26.3 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006096/1.611, allocations: 0.601 MB / 1.174 GB, free: 25.6 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000241/1.612, allocations: 180.2 kB / 1.174 GB, free: 25.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.921e-05/1.612, allocations: 11.92 kB / 1.174 GB, free: 25.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003924/1.612, allocations: 19.98 kB / 1.174 GB, free: 25.38 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.566e-05/1.612, allocations: 23.89 kB / 1.174 GB, free: 25.35 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.732e-05/1.612, allocations: 19.98 kB / 1.174 GB, free: 25.33 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0003161/1.613, allocations: 330.9 kB / 1.174 GB, free: 25.01 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001193/1.614, allocations: 371.1 kB / 1.175 GB, free: 24.65 MB / 0.6042 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.0007089/1.615, allocations: 402.2 kB / 1.175 GB, free: 24.25 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004953/1.615, allocations: 395.9 kB / 1.175 GB, free: 23.87 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.615, allocations: 0.875 kB / 1.175 GB, free: 23.87 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001106/1.615, allocations: 95.86 kB / 1.175 GB, free: 23.77 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001385/1.617, allocations: 316.1 kB / 1.176 GB, free: 23.47 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/1.618, allocations: 0.8174 MB / 1.176 GB, free: 22.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003925/1.618, allocations: 0.9639 MB / 1.177 GB, free: 21.61 MB / 0.6042 GB Notification: Performance of SimCode: time 2.41e-07/1.618, allocations: 0 / 1.177 GB, free: 21.61 MB / 0.6042 GB Notification: Performance of Templates: time 0.0196/1.638, allocations: 12.81 MB / 1.19 GB, free: 8.926 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater.makefile (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & ./IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1)