Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.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.Processes.Tests.Nozzle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|nozzle.inlet.m_flow|nozzle1.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle") translateModel(ThermofluidStream.Processes.Tests.Nozzle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|nozzle.inlet.m_flow|nozzle1.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001591/0.001592, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.529/1.529, allocations: 221.4 MB / 234.6 MB, free: 14.44 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009982/0.0009984, allocations: 80.44 kB / 285.6 MB, free: 12.99 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.01179/0.01179, allocations: 1.555 MB / 338 MB, free: 8.477 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.6532/0.6532, allocations: 90.05 MB / 479.4 MB, free: 2.969 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.485e-05/3.498e-05, allocations: 4 kB / 0.5445 GB, free: 7.996 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1796/0.1796, allocations: 69.36 MB / 0.6122 GB, free: 2.547 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.89/12.07, allocations: 4.586 GB / 5.199 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003036/12.07, allocations: 87.91 kB / 5.199 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.297/15.36, allocations: 0.7724 GB / 5.971 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.293e-06/15.36, allocations: 4 kB / 5.971 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.000133/15.36, allocations: 35.92 kB / 5.971 GB, free: 4.742 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.02015/15.38, allocations: 4.423 MB / 5.975 GB, free: 272 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.667e-05/15.38, allocations: 19.92 kB / 5.975 GB, free: 252 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007087/15.38, allocations: 122.6 kB / 5.975 GB, free: 128 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4856/15.87, allocations: 0.5749 MB / 5.976 GB, free: 53.44 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001669/15.87, allocations: 69.44 kB / 5.976 GB, free: 53.44 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002493/15.87, allocations: 99.52 kB / 5.976 GB, free: 53.43 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00322/15.87, allocations: 1.336 MB / 5.978 GB, free: 53.36 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.797e-05/15.87, allocations: 1.281 kB / 5.978 GB, free: 53.36 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/15.87, allocations: 35.83 kB / 5.978 GB, free: 53.36 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002533/15.87, allocations: 90.33 kB / 5.978 GB, free: 53.36 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002901/15.88, allocations: 1.471 MB / 5.979 GB, free: 53.35 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007688/15.88, allocations: 5.218 MB / 5.984 GB, free: 50.36 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002004/15.89, allocations: 0.9488 MB / 5.985 GB, free: 50.31 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001297/15.89, allocations: 0.7883 MB / 5.986 GB, free: 50.29 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001586/15.89, allocations: 1.431 MB / 5.987 GB, free: 48.79 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.502e-05/15.89, allocations: 45.92 kB / 5.987 GB, free: 48.75 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=122): time 8.516e-06/15.89, allocations: 0 / 5.987 GB, free: 48.75 MB / 0.6355 GB Notification: Performance of matching and sorting (n=122): time 0.003085/15.89, allocations: 1.547 MB / 5.989 GB, free: 48.63 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/15.89, allocations: 92.5 kB / 5.989 GB, free: 48.54 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006501/15.89, allocations: 421.7 kB / 5.989 GB, free: 48.43 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.298e-05/15.89, allocations: 47.75 kB / 5.989 GB, free: 48.39 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002917/15.89, allocations: 352.1 kB / 5.99 GB, free: 48.26 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004603/15.89, allocations: 414.4 kB / 5.99 GB, free: 48.05 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.82e-05/15.89, allocations: 28.02 kB / 5.99 GB, free: 48.05 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001849/15.89, allocations: 388.9 kB / 5.99 GB, free: 47.74 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009653/15.9, allocations: 0.5503 MB / 5.991 GB, free: 47.74 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001032/15.9, allocations: 0.6159 MB / 5.992 GB, free: 47.71 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00116/15.9, allocations: 0.6158 MB / 5.992 GB, free: 47.7 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/15.9, allocations: 0.6562 kB / 5.992 GB, free: 47.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003118/15.9, allocations: 1.55 MB / 5.994 GB, free: 47.57 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.291e-05/15.9, allocations: 7.438 kB / 5.994 GB, free: 47.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/15.9, allocations: 0 / 5.994 GB, free: 47.57 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005239/15.9, allocations: 122.3 kB / 5.994 GB, free: 47.55 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007766/15.9, allocations: 178.3 kB / 5.994 GB, free: 47.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002461/15.9, allocations: 3.1 MB / 5.997 GB, free: 45.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009752/15.91, allocations: 97.19 kB / 5.997 GB, free: 45.01 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001743/15.91, allocations: 69.89 kB / 5.997 GB, free: 45.01 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 96 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002729/15.91, allocations: 149.9 kB / 5.997 GB, free: 44.91 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003049/15.91, allocations: 84.66 kB / 5.997 GB, free: 44.86 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003818/15.91, allocations: 2.156 MB / 6 GB, free: 44.75 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.058e-05/15.91, allocations: 28.12 kB / 6 GB, free: 44.75 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/15.91, allocations: 4.844 kB / 6 GB, free: 44.75 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.401e-05/15.91, allocations: 7.453 kB / 6 GB, free: 44.75 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00497/15.91, allocations: 3.218 MB / 6.003 GB, free: 44.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/15.91, allocations: 7.25 kB / 6.003 GB, free: 44.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006916/15.92, allocations: 175.7 kB / 6.003 GB, free: 44.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003794/15.92, allocations: 126.5 kB / 6.003 GB, free: 44.28 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.512e-05/15.92, allocations: 46.27 kB / 6.003 GB, free: 44.28 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002252/15.92, allocations: 3.117 MB / 6.006 GB, free: 41.76 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/15.92, allocations: 1.656 kB / 6.006 GB, free: 41.76 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004172/15.92, allocations: 2.691 MB / 6.009 GB, free: 41.39 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003952/15.92, allocations: 170.3 kB / 6.009 GB, free: 41.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001272/15.92, allocations: 24.09 kB / 6.009 GB, free: 41.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005816/15.92, allocations: 58.14 kB / 6.009 GB, free: 41.24 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002026/15.92, allocations: 98.38 kB / 6.009 GB, free: 41.24 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001572/15.92, allocations: 75.22 kB / 6.009 GB, free: 41.24 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004484/15.92, allocations: 335.9 kB / 6.009 GB, free: 41.15 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.41e-07/15.92, allocations: 0 / 6.009 GB, free: 41.15 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.005045/15.93, allocations: 1.28 MB / 6.011 GB, free: 41.13 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (sink1.inlet.m_flow,sink.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 98 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006781/15.94, allocations: 2.464 MB / 6.013 GB, free: 40.84 MB / 0.6355 GB Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {dynamicPressureInflow1.inlet.state.X[1], dynamicPressureInflow1.inlet.state.X[2]} = $TMP_ThermofluidStream_Interfaces_D_Outlet24source124outlet_Medium_ThermodynamicState1.X Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {dynamicPressureInflow.inlet.state.X[1], dynamicPressureInflow.inlet.state.X[2]} = $TMP_ThermofluidStream_Interfaces_D_Outlet24source24outlet_Medium_ThermodynamicState72.X Notification: Performance of simCode: created initialization part: time 0.003771/15.94, allocations: 1.999 MB / 6.015 GB, free: 40.53 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.712e-06/15.94, allocations: 1 kB / 6.015 GB, free: 40.53 MB / 0.6355 GB Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {dynamicPressureInflow.inlet.state.X[1], dynamicPressureInflow.inlet.state.X[2]} = $TMP_ThermofluidStream_Interfaces_D_Outlet24source24outlet_Medium_ThermodynamicState145.X Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {dynamicPressureInflow1.inlet.state.X[1], dynamicPressureInflow1.inlet.state.X[2]} = $TMP_ThermofluidStream_Interfaces_D_Outlet24source124outlet_Medium_ThermodynamicState216.X Notification: Performance of simCode: created simulation system equations: time 0.002035/15.94, allocations: 1.288 MB / 6.016 GB, free: 40.25 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001801/15.94, allocations: 323.7 kB / 6.017 GB, free: 40.24 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003133/15.95, allocations: 1.641 MB / 6.018 GB, free: 40.01 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005428/15.95, allocations: 1.095 MB / 6.019 GB, free: 39.31 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001182/15.95, allocations: 458.8 kB / 6.02 GB, free: 39.3 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002562/15.95, allocations: 99.64 kB / 6.02 GB, free: 39.29 MB / 0.6355 GB Notification: Performance of SimCode: time 1.192e-06/15.95, allocations: 2.156 kB / 6.02 GB, free: 39.29 MB / 0.6355 GB Notification: Performance of Templates: time 0.07005/16.02, allocations: 54.01 MB / 6.073 GB, free: 38.31 MB / 0.6355 GB make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.makefile (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.sim & ./ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.Nozzle_ref.mat","../files/ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches