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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 173.9 kB / 7.648 MB, free: 1.422 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.355/1.355, allocations: 221.5 MB / 229.6 MB, free: 7.57 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.0008577/0.0008578, allocations: 99.59 kB / 280.5 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo): time 0.008901/0.008901, allocations: 1.571 MB / 332.8 MB, free: 13.55 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.6975/0.6975, allocations: 90.05 MB / 474 MB, free: 13.02 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.955e-05/1.928e-05, allocations: 2.844 kB / 0.5375 GB, free: 33.25 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1392, allocations: 69.37 MB / 0.6052 GB, free: 140 kB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.833/7.973, allocations: 3.773 GB / 4.378 GB, free: 81.09 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002107/7.973, allocations: 84.77 kB / 4.378 GB, free: 81.02 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.727/13.7, allocations: 1.5 GB / 5.878 GB, free: 4.121 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.225e-06/13.7, allocations: 3.938 kB / 5.878 GB, free: 4.117 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002921/13.7, allocations: 71.97 kB / 5.878 GB, free: 4.047 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.02263/13.72, allocations: 5.342 MB / 5.884 GB, free: 14.64 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/13.72, allocations: 12.03 kB / 5.884 GB, free: 14.63 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004038/13.73, allocations: 0.5744 MB / 5.884 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003491/13.73, allocations: 1.238 MB / 5.885 GB, free: 12.76 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001725/13.73, allocations: 72 kB / 5.885 GB, free: 12.69 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008866/13.73, allocations: 143.8 kB / 5.886 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00486/13.74, allocations: 1.72 MB / 5.887 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006137/13.74, allocations: 2.052 MB / 5.889 GB, free: 8.668 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.989e-05/13.74, allocations: 4 kB / 5.889 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003574/13.74, allocations: 7.984 kB / 5.889 GB, free: 8.656 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.092e-05/13.74, allocations: 75.94 kB / 5.889 GB, free: 8.582 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.569/14.31, allocations: 12.2 MB / 5.901 GB, free: 45.52 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003565/14.32, allocations: 1.665 MB / 5.903 GB, free: 45.36 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001578/14.32, allocations: 0.9706 MB / 5.904 GB, free: 45.32 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06452/14.38, allocations: 32.35 MB / 5.935 GB, free: 25.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.429e-05/14.38, allocations: 67 kB / 5.936 GB, free: 25.75 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=226): time 5.761e-06/14.38, allocations: 0 / 5.936 GB, free: 25.75 MB / 0.6823 GB Notification: Performance of matching and sorting (n=226): time 0.009145/14.39, allocations: 2.914 MB / 5.938 GB, free: 25.59 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.647e-05/14.39, allocations: 207.7 kB / 5.939 GB, free: 25.37 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001342/14.39, allocations: 0.7782 MB / 5.939 GB, free: 25.22 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003244/14.39, allocations: 26.98 kB / 5.939 GB, free: 25.19 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006229/14.39, allocations: 0.8846 MB / 5.94 GB, free: 24.91 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009134/14.39, allocations: 0.7225 MB / 5.941 GB, free: 24.53 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/14.4, allocations: 0.9375 kB / 5.941 GB, free: 24.53 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001319/14.4, allocations: 377.7 kB / 5.941 GB, free: 24.22 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001038/14.4, allocations: 0.5801 MB / 5.942 GB, free: 24.22 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001101/14.4, allocations: 0.816 MB / 5.943 GB, free: 24.02 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003117/14.4, allocations: 1.004 MB / 5.944 GB, free: 24 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-05/14.4, allocations: 2.969 kB / 5.944 GB, free: 24 MB / 0.6823 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.006438/14.41, allocations: 2.326 MB / 5.946 GB, free: 23.77 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.126e-05/14.41, allocations: 8.859 kB / 5.946 GB, free: 23.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-05/14.41, allocations: 11.09 kB / 5.946 GB, free: 23.77 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001017/14.41, allocations: 285.9 kB / 5.946 GB, free: 23.72 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001565/14.41, allocations: 370.3 kB / 5.947 GB, free: 23.72 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006214/14.42, allocations: 8.616 MB / 5.955 GB, free: 16.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003332/14.42, allocations: 169.1 kB / 5.955 GB, free: 16.48 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005587/14.42, allocations: 82.86 kB / 5.955 GB, free: 16.48 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.0005001/14.42, allocations: 150.4 kB / 5.955 GB, free: 16.37 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000721/14.42, allocations: 185.1 kB / 5.956 GB, free: 16.27 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01001/14.43, allocations: 6.065 MB / 5.961 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.786e-05/14.43, allocations: 84.31 kB / 5.962 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-05/14.43, allocations: 8.156 kB / 5.962 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-05/14.43, allocations: 9.422 kB / 5.962 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01675/14.45, allocations: 9.09 MB / 5.97 GB, free: 30.72 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.789e-05/14.45, allocations: 3.781 kB / 5.97 GB, free: 30.72 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001448/14.45, allocations: 312.6 kB / 5.971 GB, free: 30.72 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009074/14.45, allocations: 302.5 kB / 5.971 GB, free: 30.67 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003308/14.45, allocations: 44.41 kB / 5.971 GB, free: 30.67 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007424/14.46, allocations: 8.618 MB / 5.979 GB, free: 23.45 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.157e-06/14.46, allocations: 3.25 kB / 5.979 GB, free: 23.45 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01032/14.47, allocations: 5.817 MB / 5.985 GB, free: 22.27 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001182/14.47, allocations: 383.1 kB / 5.986 GB, free: 21.96 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006331/14.47, allocations: 7 kB / 5.986 GB, free: 21.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001924/14.47, allocations: 111 kB / 5.986 GB, free: 21.93 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004232/14.47, allocations: 173.3 kB / 5.986 GB, free: 21.93 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001557/14.47, allocations: 83.86 kB / 5.986 GB, free: 21.93 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009281/14.47, allocations: 0.5697 MB / 5.986 GB, free: 21.82 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.7e-07/14.47, allocations: 0 / 5.986 GB, free: 21.82 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.01117/14.49, allocations: 1.74 MB / 5.988 GB, free: 21.67 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 ($cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,dynamicPressureInflow5.inlet.state.phase,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,dynamicPressureInflow4.inlet.state.phase,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,dynamicPressureInflow3.inlet.state.phase,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,dynamicPressureInflow2.inlet.state.phase,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,dynamicPressureInflow.inlet.state.phase,$cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,dynamicPressureInflow1.inlet.state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (196): * Single equations (assignments): 166 * 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.01489/14.5, allocations: 3.93 MB / 5.992 GB, free: 21.05 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005654/14.51, allocations: 3.094 MB / 5.995 GB, free: 20.18 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.407e-06/14.51, allocations: 4.172 kB / 5.995 GB, free: 20.18 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003664/14.51, allocations: 2.605 MB / 5.998 GB, free: 19.31 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004524/14.51, allocations: 0.6382 MB / 5.998 GB, free: 19.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01197/14.53, allocations: 5.135 MB / 6.003 GB, free: 18.18 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001604/14.53, allocations: 1.903 MB / 6.005 GB, free: 17.44 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002238/14.53, allocations: 0.7199 MB / 6.006 GB, free: 17.42 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004979/14.53, allocations: 156.1 kB / 6.006 GB, free: 17.41 MB / 0.698 GB Notification: Performance of SimCode: time 7.22e-07/14.53, allocations: 0 / 6.006 GB, free: 17.41 MB / 0.698 GB Notification: Performance of Templates: time 0.1064/14.64, allocations: 65.57 MB / 6.07 GB, free: 12.12 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