Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") [: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 7.0.3-maint.7.0.x/package.mo): time 1.209/1.209, allocations: 249.4 MB / 256.7 MB, free: 7.094 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001112/0.001112, allocations: 180 kB / 316 MB, free: 3.594 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.106/1.106, allocations: 205.2 MB / 0.5667 GB, free: 15.72 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009384/0.0009386, allocations: 94.58 kB / 0.671 GB, free: 4.852 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.472e-06/6.492e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1763, allocations: 106.3 MB / 0.8846 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.336/3.513, allocations: 2.182 GB / 3.067 GB, free: 223.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001935/3.513, allocations: 91.94 kB / 3.067 GB, free: 223.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.663/8.176, allocations: 1.913 GB / 4.98 GB, free: 215.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.757e-05/8.176, allocations: 33.86 kB / 4.98 GB, free: 215.3 MB / 0.8698 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.003317/8.179, allocations: 1.346 MB / 4.981 GB, free: 214.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/8.179, allocations: 7.844 kB / 4.981 GB, free: 214.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000856/8.18, allocations: 210.2 kB / 4.981 GB, free: 214.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003101/8.183, allocations: 1.428 MB / 4.983 GB, free: 214.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/8.183, allocations: 18.38 kB / 4.983 GB, free: 214.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.665e-05/8.183, allocations: 42.75 kB / 4.983 GB, free: 214.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008617/8.184, allocations: 0.7228 MB / 4.984 GB, free: 214.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008893/8.185, allocations: 0.8681 MB / 4.985 GB, free: 214.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/8.185, allocations: 3.906 kB / 4.985 GB, free: 214.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.469e-05/8.185, allocations: 0 / 4.985 GB, free: 214.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.511e-05/8.185, allocations: 17.97 kB / 4.985 GB, free: 214.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003093/8.188, allocations: 4.72 MB / 4.989 GB, free: 211.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006341/8.189, allocations: 0.526 MB / 4.99 GB, free: 211 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003689/8.189, allocations: 448.4 kB / 4.99 GB, free: 211 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002514/8.189, allocations: 199.6 kB / 4.99 GB, free: 210.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002983/8.19, allocations: 301.2 kB / 4.991 GB, free: 210.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=35): time 1.794e-06/8.19, allocations: 3.781 kB / 4.991 GB, free: 210.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=35): time 0.001688/8.191, allocations: 0.952 MB / 4.991 GB, free: 210.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.25e-05/8.191, allocations: 85.3 kB / 4.992 GB, free: 210.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008175/8.192, allocations: 0.9147 MB / 4.992 GB, free: 210.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.022e-05/8.192, allocations: 28.52 kB / 4.992 GB, free: 210.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/8.193, allocations: 360 kB / 4.993 GB, free: 210.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.477e-05/8.193, allocations: 116.1 kB / 4.993 GB, free: 210.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.217e-05/8.193, allocations: 3.719 kB / 4.993 GB, free: 210.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 4.451e-05/8.193, allocations: 322.8 kB / 4.993 GB, free: 209.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002322/8.193, allocations: 230.9 kB / 4.993 GB, free: 209.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003486/8.193, allocations: 0.5468 MB / 4.994 GB, free: 209.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002995/8.194, allocations: 324 kB / 4.994 GB, free: 209.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/8.194, allocations: 3.906 kB / 4.994 GB, free: 209.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001516/8.195, allocations: 1.082 MB / 4.995 GB, free: 209.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002807/8.195, allocations: 2.099 MB / 4.997 GB, free: 207.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/8.195, allocations: 3.875 kB / 4.997 GB, free: 207.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005913/8.196, allocations: 338.8 kB / 4.998 GB, free: 207.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002026/8.196, allocations: 65.81 kB / 4.998 GB, free: 207.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001057/8.197, allocations: 1.345 MB / 4.999 GB, free: 206.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008729/8.198, allocations: 113.1 kB / 4.999 GB, free: 206.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.482e-05/8.198, allocations: 29.16 kB / 4.999 GB, free: 206.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.771e-06/8.198, allocations: 10.03 kB / 4.999 GB, free: 206.6 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001075/8.199, allocations: 0.7527 MB / 5 GB, free: 206.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/8.199, allocations: 6.5 kB / 5 GB, free: 206.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006846/8.2, allocations: 315.6 kB / 5 GB, free: 206.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/8.2, allocations: 58.62 kB / 5 GB, free: 206.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003279/8.204, allocations: 3.435 MB / 5.004 GB, free: 205.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008188/8.204, allocations: 109.4 kB / 5.004 GB, free: 205.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.824e-05/8.204, allocations: 26.5 kB / 5.004 GB, free: 205.2 MB / 0.8698 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 {2 22} Notification: Performance of prepare postOptimizeDAE: time 0.0001083/8.205, allocations: 124.8 kB / 5.004 GB, free: 205.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.959e-05/8.205, allocations: 101.5 kB / 5.004 GB, free: 205.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001108/8.206, allocations: 0.8456 MB / 5.005 GB, free: 205 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/8.206, allocations: 10.62 kB / 5.005 GB, free: 205 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/8.206, allocations: 0 / 5.005 GB, free: 205 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/8.206, allocations: 7.656 kB / 5.005 GB, free: 205 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001949/8.208, allocations: 1.795 MB / 5.007 GB, free: 204.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/8.208, allocations: 0 / 5.007 GB, free: 204.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/8.208, allocations: 30.16 kB / 5.007 GB, free: 204.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004794/8.208, allocations: 289.2 kB / 5.007 GB, free: 204.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.274e-05/8.208, allocations: 10.84 kB / 5.007 GB, free: 204.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007921/8.209, allocations: 1.193 MB / 5.008 GB, free: 204 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/8.209, allocations: 3.422 kB / 5.008 GB, free: 204 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009595/8.21, allocations: 1.034 MB / 5.009 GB, free: 203.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002577/8.21, allocations: 238.2 kB / 5.009 GB, free: 203.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001243/8.211, allocations: 0 / 5.009 GB, free: 203.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006612/8.211, allocations: 82.97 kB / 5.009 GB, free: 203.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.377e-05/8.211, allocations: 24.44 kB / 5.009 GB, free: 203.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.371e-05/8.211, allocations: 19.33 kB / 5.01 GB, free: 203.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0006156/8.212, allocations: 0.7119 MB / 5.01 GB, free: 203.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001731/8.214, allocations: 0.556 MB / 5.011 GB, free: 203.3 MB / 0.8698 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 {2 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.00133/8.215, allocations: 1.216 MB / 5.012 GB, free: 203.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001618/8.217, allocations: 1.077 MB / 5.013 GB, free: 202.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/8.217, allocations: 3.609 kB / 5.013 GB, free: 202.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004505/8.217, allocations: 264.7 kB / 5.013 GB, free: 202.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003068/8.22, allocations: 0.5697 MB / 5.014 GB, free: 202.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002324/8.223, allocations: 1.479 MB / 5.015 GB, free: 202.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000672/8.223, allocations: 1.294 MB / 5.017 GB, free: 201.8 MB / 0.8698 GB Notification: Performance of SimCode: time 3.71e-07/8.223, allocations: 0 / 5.017 GB, free: 201.8 MB / 0.8698 GB Notification: Performance of Templates: time 0.03545/8.259, allocations: 27.37 MB / 5.043 GB, free: 201.1 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches