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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-main/package.mo", uses=false) Using package ThermofluidStream with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-main/package.mo) 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) 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 3.2.3+maint.om/package.mo): time 0.0009937/0.0009936, allocations: 174.9 kB / 16.12 MB, free: 5.695 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.789/1.789, allocations: 205.4 MB / 222.3 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007646/0.0007648, allocations: 86.36 kB / 270.6 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-main/package.mo): time 0.9412/0.9412, allocations: 89.58 MB / 408.5 MB, free: 4.508 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004236/0.0004236, allocations: 16.2 kB / 485.2 MB, free: 7.652 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3992/0.3996, allocations: 66.01 MB / 0.5383 GB, free: 34.48 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.292/8.692, allocations: 3.553 GB / 4.092 GB, free: 33.68 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/8.692, allocations: 87.94 kB / 4.092 GB, free: 33.6 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.496/14.19, allocations: 1.428 GB / 5.52 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.824e-06/14.19, allocations: 0 / 5.52 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0003701/14.19, allocations: 71.97 kB / 5.52 GB, free: 12.21 MB / 0.6511 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.02359/14.21, allocations: 5.512 MB / 5.525 GB, free: 6.629 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/14.21, allocations: 12.03 kB / 5.525 GB, free: 6.617 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004525/14.22, allocations: 0.5778 MB / 5.526 GB, free: 6.039 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004638/14.22, allocations: 1.292 MB / 5.527 GB, free: 4.691 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002815/14.22, allocations: 176.5 kB / 5.527 GB, free: 4.516 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001073/14.22, allocations: 235.8 kB / 5.527 GB, free: 4.285 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009864/14.23, allocations: 2.897 MB / 5.53 GB, free: 1.281 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.484e-05/14.23, allocations: 7.938 kB / 5.53 GB, free: 1.273 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004936/14.23, allocations: 92 kB / 5.53 GB, free: 1.184 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.779e-05/14.23, allocations: 67.98 kB / 5.53 GB, free: 1.117 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006594/14.24, allocations: 2.455 MB / 5.533 GB, free: 14.66 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01753/14.26, allocations: 12.64 MB / 5.545 GB, free: 0.7227 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5276/14.78, allocations: 2.224 MB / 5.547 GB, free: 49.68 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002196/14.79, allocations: 1.127 MB / 5.548 GB, free: 49.64 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0576/14.84, allocations: 32.16 MB / 5.58 GB, free: 30.12 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.299e-05/14.84, allocations: 62.44 kB / 5.58 GB, free: 30.09 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=226): time 6.331e-06/14.84, allocations: 2.344 kB / 5.58 GB, free: 30.09 MB / 0.6667 GB Notification: Performance of matching and sorting (n=226): time 0.01361/14.86, allocations: 4.654 MB / 5.584 GB, free: 29.39 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/14.86, allocations: 210.2 kB / 5.585 GB, free: 29.16 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00207/14.86, allocations: 1.125 MB / 5.586 GB, free: 29.01 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002252/14.86, allocations: 59.05 kB / 5.586 GB, free: 28.98 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007263/14.86, allocations: 0.8741 MB / 5.587 GB, free: 28.82 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008228/14.86, allocations: 0.7526 MB / 5.587 GB, free: 28.43 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/14.86, allocations: 34.47 kB / 5.587 GB, free: 28.43 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001434/14.86, allocations: 378.2 kB / 5.588 GB, free: 28.12 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001313/14.86, allocations: 0.6936 MB / 5.589 GB, free: 28.12 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001532/14.87, allocations: 0.9479 MB / 5.589 GB, free: 27.91 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002857/14.87, allocations: 1.81 MB / 5.591 GB, free: 27.69 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.655e-06/14.87, allocations: 0 / 5.591 GB, free: 27.69 MB / 0.6667 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.004589/14.87, allocations: 2.348 MB / 5.593 GB, free: 27.45 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/14.87, allocations: 6.156 kB / 5.593 GB, free: 27.45 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.765e-05/14.87, allocations: 5.281 kB / 5.593 GB, free: 27.45 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008791/14.87, allocations: 306.1 kB / 5.594 GB, free: 27.4 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/14.88, allocations: 364.4 kB / 5.594 GB, free: 27.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005543/14.88, allocations: 8.937 MB / 5.603 GB, free: 19.86 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002185/14.88, allocations: 224.8 kB / 5.603 GB, free: 19.81 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002055/14.88, allocations: 81.27 kB / 5.603 GB, free: 19.81 MB / 0.6667 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 () * Number of clocked 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.001156/14.88, allocations: 401.7 kB / 5.604 GB, free: 19.69 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004791/14.89, allocations: 191.4 kB / 5.604 GB, free: 19.59 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008111/14.89, allocations: 6.152 MB / 5.61 GB, free: 19.03 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.984e-05/14.89, allocations: 77.81 kB / 5.61 GB, free: 19.03 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.047e-05/14.89, allocations: 9.75 kB / 5.61 GB, free: 19.03 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.672e-05/14.89, allocations: 18.64 kB / 5.61 GB, free: 19.03 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01268/14.91, allocations: 9.495 MB / 5.619 GB, free: 17.98 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-05/14.91, allocations: 6.844 kB / 5.619 GB, free: 17.97 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001226/14.91, allocations: 315.7 kB / 5.619 GB, free: 17.97 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008497/14.91, allocations: 318.6 kB / 5.62 GB, free: 17.92 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001669/14.91, allocations: 67.05 kB / 5.62 GB, free: 17.92 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007001/14.92, allocations: 8.948 MB / 5.629 GB, free: 26.36 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/14.92, allocations: 4.344 kB / 5.629 GB, free: 26.36 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008465/14.92, allocations: 5.798 MB / 5.634 GB, free: 25.33 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001128/14.93, allocations: 390 kB / 5.635 GB, free: 25.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002509/14.93, allocations: 46.28 kB / 5.635 GB, free: 25.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001328/14.93, allocations: 140.2 kB / 5.635 GB, free: 25 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003845/14.93, allocations: 174.3 kB / 5.635 GB, free: 24.99 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001367/14.93, allocations: 83.98 kB / 5.635 GB, free: 24.99 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001032/14.93, allocations: 0.7341 MB / 5.636 GB, free: 24.88 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.6e-07/14.93, allocations: 0 / 5.636 GB, free: 24.88 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.009463/14.94, allocations: 1.898 MB / 5.638 GB, free: 24.75 MB / 0.6823 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 () * Number of clocked 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.01277/14.95, allocations: 3.385 MB / 5.641 GB, free: 24.13 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006069/14.96, allocations: 3.412 MB / 5.644 GB, free: 23.17 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/14.96, allocations: 1.688 kB / 5.644 GB, free: 23.17 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.003703/14.96, allocations: 2.796 MB / 5.647 GB, free: 22.25 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004877/14.97, allocations: 0.7172 MB / 5.648 GB, free: 22.23 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01251/14.98, allocations: 7.627 MB / 5.655 GB, free: 19.12 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001574/14.98, allocations: 1.846 MB / 5.657 GB, free: 18.33 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002098/14.98, allocations: 0.7299 MB / 5.658 GB, free: 18.29 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004524/14.98, allocations: 159.2 kB / 5.658 GB, free: 18.28 MB / 0.6823 GB Notification: Performance of SimCode: time 1.002e-06/14.98, allocations: 0 / 5.658 GB, free: 18.28 MB / 0.6823 GB Notification: Performance of Templates: time 0.1334/15.12, allocations: 90.22 MB / 5.746 GB, free: 11.43 MB / 0.6823 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