Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo) Using package ObsoleteModelica4 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo) 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) Running command: translateModel(ThermofluidStream.Boundaries.Tests.DynamicBoundaries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow|source3.outlet.m_flow|source4.outlet.m_flow|source5.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries") translateModel(ThermofluidStream.Boundaries.Tests.DynamicBoundaries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow|source3.outlet.m_flow|source4.outlet.m_flow|source5.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries") [: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.002091/0.002091, allocations: 183.4 kB / 7.461 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.007/1.007, allocations: 221.4 MB / 229.3 MB, free: 3.055 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007996/0.0007996, allocations: 96 kB / 280.1 MB, free: 1.227 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo): time 0.007399/0.007399, allocations: 1.564 MB / 332.5 MB, free: 12.85 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.3807/0.3807, allocations: 90.05 MB / 473.6 MB, free: 7.23 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 5.921e-06/5.941e-06, allocations: 4 kB / 0.5369 GB, free: 14.31 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09718/0.0972, allocations: 69.36 MB / 0.6046 GB, free: 8.859 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.979/5.077, allocations: 3.773 GB / 4.377 GB, free: 138.1 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001956/5.077, allocations: 75.88 kB / 4.377 GB, free: 138.1 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.653/8.73, allocations: 1.508 GB / 5.886 GB, free: 39.46 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001254/8.73, allocations: 67.14 kB / 5.886 GB, free: 39.45 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 602 * Number of variables: 602 Notification: Performance of Generate backend data structure: time 0.01548/8.746, allocations: 5.429 MB / 5.891 GB, free: 36.95 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/8.746, allocations: 10.22 kB / 5.891 GB, free: 36.95 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002447/8.748, allocations: 0.552 MB / 5.891 GB, free: 36.79 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001843/8.75, allocations: 1.232 MB / 5.893 GB, free: 36.34 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.865e-05/8.75, allocations: 74.38 kB / 5.893 GB, free: 36.34 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002376/8.751, allocations: 138.5 kB / 5.893 GB, free: 36.34 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002668/8.753, allocations: 1.725 MB / 5.895 GB, free: 36.32 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002733/8.756, allocations: 2.061 MB / 5.897 GB, free: 36.04 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.438e-05/8.756, allocations: 7.438 kB / 5.897 GB, free: 36.04 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001461/8.756, allocations: 2.812 kB / 5.897 GB, free: 36.04 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.305e-05/8.756, allocations: 65.84 kB / 5.897 GB, free: 36.04 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009599/8.766, allocations: 12.24 MB / 5.909 GB, free: 27.8 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001154/8.767, allocations: 0.9493 MB / 5.91 GB, free: 27.69 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001114/8.768, allocations: 0.9716 MB / 5.91 GB, free: 27.64 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05707/8.825, allocations: 32.38 MB / 5.942 GB, free: 23.14 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.625e-05/8.825, allocations: 57.31 kB / 5.942 GB, free: 23.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=226): time 3.727e-06/8.825, allocations: 0 / 5.942 GB, free: 23.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=226): time 0.008553/8.834, allocations: 3.028 MB / 5.945 GB, free: 22.84 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.826e-05/8.834, allocations: 202.8 kB / 5.945 GB, free: 22.62 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/8.835, allocations: 0.7816 MB / 5.946 GB, free: 22.47 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001187/8.835, allocations: 31.02 kB / 5.946 GB, free: 22.44 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003035/8.836, allocations: 0.6486 MB / 5.947 GB, free: 22.06 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004537/8.836, allocations: 0.7239 MB / 5.947 GB, free: 21.57 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.749e-05/8.836, allocations: 0 / 5.947 GB, free: 21.57 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001432/8.836, allocations: 384 kB / 5.948 GB, free: 21.26 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001075/8.837, allocations: 0.64 MB / 5.948 GB, free: 21.26 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00116/8.838, allocations: 0.8775 MB / 5.949 GB, free: 21.05 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003637/8.842, allocations: 1.1 MB / 5.95 GB, free: 20.97 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/8.842, allocations: 9.781 kB / 5.95 GB, free: 20.96 MB / 0.6823 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.007571/8.85, allocations: 3.138 MB / 5.953 GB, free: 18.42 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/8.85, allocations: 4 kB / 5.953 GB, free: 18.42 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/8.85, allocations: 4 kB / 5.953 GB, free: 18.41 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008266/8.851, allocations: 292.4 kB / 5.954 GB, free: 18.16 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001378/8.852, allocations: 385 kB / 5.954 GB, free: 17.84 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006002/8.858, allocations: 8.424 MB / 5.962 GB, free: 8.996 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001561/8.86, allocations: 180.6 kB / 5.962 GB, free: 8.832 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001701/8.86, allocations: 90.33 kB / 5.963 GB, free: 8.758 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 24 (dynamicPressureInflow1.inlet.state.phase,dynamicPressureInflow.inlet.state.phase,dynamicPressureInflow2.inlet.state.phase,dynamicPressureInflow3.inlet.state.phase,dynamicPressureInflow4.inlet.state.phase,dynamicPressureInflow5.inlet.state.phase,dynamicPressureInflow5.outlet.state.phase,flowResistance5.outlet.state.phase,dynamicPressureOutflow5.outlet.state.phase,dynamicPressureInflow4.outlet.state.phase,flowResistance4.outlet.state.phase,dynamicPressureOutflow4.outlet.state.phase,dynamicPressureInflow3.outlet.state.phase,flowResistance3.outlet.state.phase,dynamicPressureOutflow3.outlet.state.phase,dynamicPressureInflow2.outlet.state.phase,flowResistance2.outlet.state.phase,dynamicPressureOutflow2.outlet.state.phase,dynamicPressureInflow.outlet.state.phase,dynamicPressureInflow1.outlet.state.phase,flowResistance1.outlet.state.phase,dynamicPressureOutflow1.outlet.state.phase,flowResistance.outlet.state.phase,dynamicPressureOutflow.outlet.state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (202): * Single equations (assignments): 190 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003217/8.86, allocations: 152.3 kB / 5.963 GB, free: 8.605 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002039/8.862, allocations: 0.7598 MB / 5.963 GB, free: 8.039 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01059/8.873, allocations: 7.161 MB / 5.97 GB, free: 1.613 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.168e-05/8.873, allocations: 78.53 kB / 5.971 GB, free: 1.562 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.751e-05/8.873, allocations: 4 kB / 5.971 GB, free: 1.559 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-05/8.873, allocations: 18.02 kB / 5.971 GB, free: 1.551 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01528/8.888, allocations: 10.3 MB / 5.981 GB, free: 8.715 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.286e-05/8.888, allocations: 8.938 kB / 5.981 GB, free: 8.707 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001352/8.89, allocations: 333.4 kB / 5.981 GB, free: 8.426 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009501/8.891, allocations: 307.1 kB / 5.981 GB, free: 8.18 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001989/8.891, allocations: 53.78 kB / 5.981 GB, free: 8.141 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2426/9.133, allocations: 8.424 MB / 5.99 GB, free: 111.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/9.133, allocations: 7.688 kB / 5.99 GB, free: 111.3 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01032/9.144, allocations: 8.019 MB / 5.997 GB, free: 110.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000492/9.144, allocations: 336.8 kB / 5.998 GB, free: 110.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002584/9.145, allocations: 9.469 kB / 5.998 GB, free: 110.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001219/9.146, allocations: 112.6 kB / 5.998 GB, free: 110.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00023/9.146, allocations: 154.4 kB / 5.998 GB, free: 110.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001439/9.146, allocations: 83.41 kB / 5.998 GB, free: 110.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.000578/9.147, allocations: 0.5677 MB / 5.999 GB, free: 110.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.005414/9.152, allocations: 1.844 MB / 6 GB, free: 110.1 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (dynamicPressureOutflow5.inlet.m_flow,dynamicPressureOutflow4.inlet.m_flow,dynamicPressureOutflow3.inlet.m_flow,dynamicPressureOutflow2.inlet.m_flow,dynamicPressureOutflow.inlet.m_flow,dynamicPressureOutflow1.inlet.m_flow) * Number of discrete variables: 42 ($cse21.phase,$cse21.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,dynamicPressureInflow5.inlet.state.phase,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,dynamicPressureInflow4.inlet.state.phase,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,dynamicPressureInflow3.inlet.state.phase,$cse9.phase,$cse9.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,dynamicPressureInflow2.inlet.state.phase,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,dynamicPressureInflow.inlet.state.phase,$cse1.phase,$cse1.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,dynamicPressureInflow1.inlet.state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (202): * Single equations (assignments): 172 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 24 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006822/9.159, allocations: 4.059 MB / 6.004 GB, free: 109.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004173/9.163, allocations: 4.204 MB / 6.008 GB, free: 108.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/9.163, allocations: 0 / 6.008 GB, free: 108.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003192/9.166, allocations: 3.823 MB / 6.012 GB, free: 107.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003139/9.17, allocations: 0.6217 MB / 6.013 GB, free: 107.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009424/9.179, allocations: 5.937 MB / 6.019 GB, free: 106.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001533/9.181, allocations: 2.097 MB / 6.021 GB, free: 106.1 MB / 0.698 GB Notification: Performance of SimCode: time 7.12e-07/9.181, allocations: 1.531 kB / 6.021 GB, free: 106.1 MB / 0.698 GB Notification: Performance of Templates: time 0.0891/9.27, allocations: 75.91 MB / 6.095 GB, free: 102.1 MB / 0.698 GB make -j1 -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.makefile (rm -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.pipe >> ../files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.sim & ./ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.DynamicBoundaries_ref.mat","../files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches