Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volLinSys.heatPort.Q_flow|volNonLinSys.heatPort.Q_flow|volQflow.heatPort.Q_flow|volT.heatPort.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volLinSys.heatPort.Q_flow|volNonLinSys.heatPort.Q_flow|volQflow.heatPort.Q_flow|volT.heatPort.Q_flow",fileNamePrefix="Buildings_9_Buildings.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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.032/2.032, allocations: 387.2 MB / 394.5 MB, free: 13.69 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 189.2 kB / 487 MB, free: 5.355 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 221.3 MB / 0.7819 GB, free: 1.367 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000909/0.000909, allocations: 95.14 kB / 0.9213 GB, free: 2.629 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.013e-06/7.033e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2785, allocations: 142.3 MB / 1.205 GB, free: 26.24 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.011/1.289, allocations: 410 MB / 1.606 GB, free: 13.43 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002347/1.29, allocations: 89 kB / 1.606 GB, free: 13.38 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.431/3.72, allocations: 0.6663 GB / 2.272 GB, free: 238.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001139/3.721, allocations: 38.45 kB / 2.272 GB, free: 238.3 MB / 1.151 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.003143/3.724, allocations: 1.441 MB / 2.273 GB, free: 237.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.729e-05/3.724, allocations: 7.219 kB / 2.273 GB, free: 237.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007946/3.725, allocations: 219.5 kB / 2.274 GB, free: 237.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05851/3.783, allocations: 23.49 MB / 2.297 GB, free: 236.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004117/3.784, allocations: 114.4 kB / 2.297 GB, free: 236.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/3.784, allocations: 57.03 kB / 2.297 GB, free: 236.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001058/3.785, allocations: 441.7 kB / 2.297 GB, free: 236.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/3.786, allocations: 0.8131 MB / 2.298 GB, free: 236 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.709e-05/3.786, allocations: 5.812 kB / 2.298 GB, free: 236 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.53e-05/3.786, allocations: 0 / 2.298 GB, free: 236 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.466e-05/3.786, allocations: 22.56 kB / 2.298 GB, free: 236 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005228/3.791, allocations: 4.333 MB / 2.302 GB, free: 233.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005042/3.792, allocations: 247.1 kB / 2.302 GB, free: 233.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002136/3.792, allocations: 142.5 kB / 2.303 GB, free: 233.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008431/3.793, allocations: 1.15 MB / 2.304 GB, free: 232 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/3.793, allocations: 38.23 kB / 2.304 GB, free: 232 MB / 1.151 GB Notification: Performance of pre-optimization done (n=29): time 2.004e-06/3.793, allocations: 0 / 2.304 GB, free: 232 MB / 1.151 GB Notification: Performance of matching and sorting (n=29): time 0.001251/3.794, allocations: 450.9 kB / 2.304 GB, free: 231.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.657e-05/3.794, allocations: 62.47 kB / 2.304 GB, free: 231.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000907/3.795, allocations: 0.6572 MB / 2.305 GB, free: 231.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.056e-05/3.795, allocations: 28.64 kB / 2.305 GB, free: 231.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002417/3.796, allocations: 438 kB / 2.305 GB, free: 231.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/3.796, allocations: 101.9 kB / 2.305 GB, free: 231.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.157e-05/3.796, allocations: 0 / 2.305 GB, free: 231.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.288e-05/3.796, allocations: 324.2 kB / 2.306 GB, free: 231 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/3.796, allocations: 113.1 kB / 2.306 GB, free: 231 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002407/3.796, allocations: 300.9 kB / 2.306 GB, free: 230.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004951/3.797, allocations: 192.2 kB / 2.306 GB, free: 230.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/3.797, allocations: 3.625 kB / 2.306 GB, free: 230.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001174/3.798, allocations: 0.571 MB / 2.307 GB, free: 230.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/3.798, allocations: 10.78 kB / 2.307 GB, free: 230.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/3.798, allocations: 7.188 kB / 2.307 GB, free: 230.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004939/3.798, allocations: 125.6 kB / 2.307 GB, free: 230.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004772/3.799, allocations: 130.7 kB / 2.307 GB, free: 230.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009034/3.8, allocations: 1.728 MB / 2.309 GB, free: 229.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007576/3.801, allocations: 102.2 kB / 2.309 GB, free: 229.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.664e-05/3.801, allocations: 29.62 kB / 2.309 GB, free: 229.1 MB / 1.151 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.0001625/3.801, allocations: 131.6 kB / 2.309 GB, free: 228.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/3.801, allocations: 96.5 kB / 2.309 GB, free: 228.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001331/3.802, allocations: 0.5906 MB / 2.31 GB, free: 228.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/3.802, allocations: 4.844 kB / 2.31 GB, free: 228.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/3.802, allocations: 3.625 kB / 2.31 GB, free: 228.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/3.802, allocations: 1.922 kB / 2.31 GB, free: 228.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002268/3.805, allocations: 1.354 MB / 2.311 GB, free: 228.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/3.805, allocations: 3.719 kB / 2.311 GB, free: 228.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003778/3.805, allocations: 82.86 kB / 2.311 GB, free: 228.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004131/3.805, allocations: 120.2 kB / 2.311 GB, free: 228.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.693e-05/3.805, allocations: 5.969 kB / 2.311 GB, free: 228.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008031/3.806, allocations: 1.716 MB / 2.313 GB, free: 226.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/3.806, allocations: 3.531 kB / 2.313 GB, free: 226.8 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001165/3.807, allocations: 0.7305 MB / 2.314 GB, free: 226.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000321/3.808, allocations: 231.5 kB / 2.314 GB, free: 226.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001494/3.808, allocations: 5.969 kB / 2.314 GB, free: 226.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007458/3.809, allocations: 90.61 kB / 2.314 GB, free: 226.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.868e-05/3.809, allocations: 27.28 kB / 2.314 GB, free: 226.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.86e-05/3.809, allocations: 23.95 kB / 2.314 GB, free: 226.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0006725/3.81, allocations: 0.4984 MB / 2.314 GB, free: 226.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001364/3.811, allocations: 402.8 kB / 2.315 GB, free: 226.1 MB / 1.151 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.001313/3.812, allocations: 0.6136 MB / 2.315 GB, free: 226 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.000827/3.813, allocations: 370.5 kB / 2.316 GB, free: 226 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/3.813, allocations: 3.562 kB / 2.316 GB, free: 226 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.00038/3.814, allocations: 216.3 kB / 2.316 GB, free: 226 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001912/3.815, allocations: 402.3 kB / 2.316 GB, free: 226 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002888/3.818, allocations: 1.237 MB / 2.318 GB, free: 225.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00105/3.819, allocations: 1.191 MB / 2.319 GB, free: 224.8 MB / 1.151 GB Notification: Performance of SimCode: time 6.62e-07/3.819, allocations: 0 / 2.319 GB, free: 224.8 MB / 1.151 GB Notification: Performance of Templates: time 0.03562/3.855, allocations: 17.24 MB / 2.336 GB, free: 219.7 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1)