Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.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.Examples.Performance.PressureDrop.SeriesParallelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") [: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.057/2.057, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.001674/0.001674, allocations: 173.3 kB / 487 MB, free: 5.406 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.567/1.567, allocations: 221.3 MB / 0.7819 GB, free: 1.434 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.001456/0.001456, allocations: 106.2 kB / 0.9213 GB, free: 2.684 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.296e-06/8.326e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3127/0.3127, allocations: 142.3 MB / 1.205 GB, free: 26.25 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.689/5.002, allocations: 1.869 GB / 3.074 GB, free: 436.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002902/5.002, allocations: 90.2 kB / 3.074 GB, free: 436.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.341/8.343, allocations: 1.08 GB / 4.154 GB, free: 251.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001095/8.343, allocations: 39.92 kB / 4.154 GB, free: 251.6 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.004001/8.347, allocations: 1.342 MB / 4.156 GB, free: 250.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.203e-05/8.347, allocations: 8.031 kB / 4.156 GB, free: 250.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009959/8.348, allocations: 202.4 kB / 4.156 GB, free: 250 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003307/8.351, allocations: 1.429 MB / 4.157 GB, free: 248.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/8.351, allocations: 16 kB / 4.157 GB, free: 248.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.51e-05/8.352, allocations: 47.94 kB / 4.157 GB, free: 248.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009218/8.352, allocations: 0.7209 MB / 4.158 GB, free: 247.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009335/8.353, allocations: 0.8642 MB / 4.159 GB, free: 246.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/8.353, allocations: 7.938 kB / 4.159 GB, free: 246.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.624e-05/8.353, allocations: 0 / 4.159 GB, free: 246.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/8.354, allocations: 16 kB / 4.159 GB, free: 246.8 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00349/8.357, allocations: 4.73 MB / 4.163 GB, free: 241.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005701/8.358, allocations: 0.5151 MB / 4.164 GB, free: 241.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003918/8.358, allocations: 445.2 kB / 4.164 GB, free: 240.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002917/8.358, allocations: 206.4 kB / 4.165 GB, free: 240.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003258/8.359, allocations: 309 kB / 4.165 GB, free: 240.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=35): time 1.894e-06/8.359, allocations: 0 / 4.165 GB, free: 240.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=35): time 0.001853/8.361, allocations: 0.9492 MB / 4.166 GB, free: 239.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/8.361, allocations: 81.11 kB / 4.166 GB, free: 239.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000846/8.361, allocations: 0.9179 MB / 4.167 GB, free: 238.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.241e-05/8.361, allocations: 33.64 kB / 4.167 GB, free: 238.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001815/8.362, allocations: 348.4 kB / 4.167 GB, free: 237.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.863e-05/8.362, allocations: 126.2 kB / 4.167 GB, free: 237.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.22e-05/8.362, allocations: 0 / 4.167 GB, free: 237.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.944e-05/8.362, allocations: 322 kB / 4.167 GB, free: 237.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002342/8.362, allocations: 228.9 kB / 4.168 GB, free: 237.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003875/8.362, allocations: 0.5576 MB / 4.168 GB, free: 236.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003053/8.363, allocations: 321.7 kB / 4.169 GB, free: 236.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/8.363, allocations: 0 / 4.169 GB, free: 236.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001608/8.364, allocations: 1.094 MB / 4.17 GB, free: 235 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003437/8.365, allocations: 2.096 MB / 4.172 GB, free: 232.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/8.365, allocations: 8 kB / 4.172 GB, free: 232.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006353/8.365, allocations: 359.7 kB / 4.172 GB, free: 232.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002082/8.366, allocations: 67.84 kB / 4.172 GB, free: 232.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001591/8.367, allocations: 1.421 MB / 4.173 GB, free: 230.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009713/8.368, allocations: 123.3 kB / 4.174 GB, free: 230.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.816e-05/8.368, allocations: 28 kB / 4.174 GB, free: 230.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.775e-06/8.368, allocations: 4 kB / 4.174 GB, free: 230.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001146/8.369, allocations: 0.7615 MB / 4.174 GB, free: 230 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/8.369, allocations: 8 kB / 4.174 GB, free: 230 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000663/8.37, allocations: 305 kB / 4.175 GB, free: 229.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001937/8.37, allocations: 67.89 kB / 4.175 GB, free: 229.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003622/8.374, allocations: 3.477 MB / 4.178 GB, free: 226 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009179/8.375, allocations: 99.64 kB / 4.178 GB, free: 225.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.143e-05/8.375, allocations: 31.98 kB / 4.178 GB, free: 225.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * 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 {11 13} Notification: Performance of prepare postOptimizeDAE: time 0.0001659/8.375, allocations: 121 kB / 4.178 GB, free: 225.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/8.375, allocations: 106.7 kB / 4.178 GB, free: 225.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001202/8.376, allocations: 0.8546 MB / 4.179 GB, free: 224.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/8.376, allocations: 4 kB / 4.179 GB, free: 224.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/8.376, allocations: 3.906 kB / 4.179 GB, free: 224.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/8.376, allocations: 0 / 4.179 GB, free: 224.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002027/8.379, allocations: 1.786 MB / 4.181 GB, free: 222.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/8.379, allocations: 0 / 4.181 GB, free: 222.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/8.379, allocations: 28.2 kB / 4.181 GB, free: 222.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005272/8.379, allocations: 323.3 kB / 4.181 GB, free: 222.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.466e-05/8.379, allocations: 15.88 kB / 4.181 GB, free: 222.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001/8.38, allocations: 1.259 MB / 4.183 GB, free: 221.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/8.38, allocations: 0 / 4.183 GB, free: 221.3 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009943/8.381, allocations: 1.057 MB / 4.184 GB, free: 220.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002805/8.382, allocations: 235.7 kB / 4.184 GB, free: 219.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/8.382, allocations: 3.906 kB / 4.184 GB, free: 219.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006649/8.382, allocations: 79.75 kB / 4.184 GB, free: 219.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.271e-05/8.382, allocations: 31.95 kB / 4.184 GB, free: 219.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.569e-05/8.382, allocations: 16 kB / 4.184 GB, free: 219.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0006985/8.383, allocations: 0.7139 MB / 4.185 GB, free: 219.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001529/8.385, allocations: 0.5539 MB / 4.185 GB, free: 218.5 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {11 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.0014/8.386, allocations: 1.219 MB / 4.186 GB, free: 217.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00208/8.388, allocations: 1.187 MB / 4.188 GB, free: 216.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/8.388, allocations: 0 / 4.188 GB, free: 216.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005014/8.389, allocations: 320.2 kB / 4.188 GB, free: 215.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002555/8.391, allocations: 0.5631 MB / 4.188 GB, free: 215.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002094/8.393, allocations: 1.487 MB / 4.19 GB, free: 213.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005898/8.394, allocations: 1.3 MB / 4.191 GB, free: 212.3 MB / 1.151 GB Notification: Performance of SimCode: time 7.32e-07/8.394, allocations: 0 / 4.191 GB, free: 212.3 MB / 1.151 GB Notification: Performance of Templates: time 0.03867/8.433, allocations: 26.96 MB / 4.218 GB, free: 185.5 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow.csv","../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches