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.001873/0.001873, allocations: 174.2 kB / 7.647 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.484/1.484, 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.001054/0.001054, allocations: 97.59 kB / 280.5 MB, free: 5.324 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.01099/0.01099, allocations: 1.563 MB / 332.8 MB, free: 13.54 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.7954/0.7954, allocations: 90.04 MB / 474 MB, free: 13.04 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.582e-05/1.585e-05, allocations: 5.641 kB / 0.5375 GB, free: 33.09 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1682, allocations: 69.37 MB / 0.6052 GB, free: 124 kB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.62/11.79, allocations: 4.586 GB / 5.191 GB, free: 75.82 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/11.79, allocations: 80.53 kB / 5.191 GB, free: 75.78 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.35/15.14, allocations: 0.7658 GB / 5.957 GB, free: 8.113 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.234e-06/15.14, allocations: 0 / 5.957 GB, free: 8.113 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001378/15.14, allocations: 24 kB / 5.957 GB, free: 8.09 MB / 0.6198 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.02009/15.16, allocations: 4.451 MB / 5.961 GB, free: 3.578 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/15.16, allocations: 8.031 kB / 5.961 GB, free: 3.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007364/15.16, allocations: 118.6 kB / 5.961 GB, free: 3.453 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001661/15.16, allocations: 0.5802 MB / 5.962 GB, free: 2.832 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.086e-05/15.16, allocations: 32 kB / 5.962 GB, free: 2.801 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003445/15.16, allocations: 55.98 kB / 5.962 GB, free: 2.746 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00278/15.17, allocations: 1.406 MB / 5.963 GB, free: 1.34 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002629/15.17, allocations: 1.221 MB / 5.964 GB, free: 112 kB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.624e-05/15.17, allocations: 4 kB / 5.964 GB, free: 108 kB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.324e-05/15.17, allocations: 0 / 5.964 GB, free: 108 kB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001844/15.17, allocations: 78.58 kB / 5.965 GB, free: 28 kB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008104/15.18, allocations: 5.039 MB / 5.969 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001572/15.18, allocations: 0.9189 MB / 5.97 GB, free: 9.52 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00102/15.18, allocations: 0.7589 MB / 5.971 GB, free: 8.758 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001573/15.18, allocations: 1.436 MB / 5.973 GB, free: 7.027 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.255e-05/15.18, allocations: 43.69 kB / 5.973 GB, free: 6.973 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=122): time 4.709e-06/15.18, allocations: 0 / 5.973 GB, free: 6.973 MB / 0.6355 GB Notification: Performance of matching and sorting (n=122): time 0.004782/15.19, allocations: 1.579 MB / 5.974 GB, free: 5.383 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.584e-05/15.19, allocations: 90.23 kB / 5.974 GB, free: 5.277 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005598/15.19, allocations: 345.4 kB / 5.975 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.194e-05/15.19, allocations: 29.64 kB / 5.975 GB, free: 4.898 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002841/15.19, allocations: 380.9 kB / 5.975 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004034/15.19, allocations: 393.9 kB / 5.975 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.716e-05/15.19, allocations: 0 / 5.975 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002271/15.19, allocations: 390.7 kB / 5.976 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007487/15.19, allocations: 0.537 MB / 5.976 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007872/15.19, allocations: 0.5949 MB / 5.977 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002615/15.19, allocations: 0.7068 MB / 5.977 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/15.19, allocations: 0 / 5.977 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.004157/15.2, allocations: 1.582 MB / 5.979 GB, free: 308 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/15.2, allocations: 4 kB / 5.979 GB, free: 304 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/15.2, allocations: 0 / 5.979 GB, free: 304 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004675/15.2, allocations: 113.6 kB / 5.979 GB, free: 184 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000686/15.2, allocations: 175.8 kB / 5.979 GB, free: 8 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5395/15.74, allocations: 2.995 MB / 5.982 GB, free: 61.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/15.74, allocations: 63.52 kB / 5.982 GB, free: 61.13 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000208/15.74, allocations: 68.7 kB / 5.982 GB, free: 61.13 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.0002404/15.74, allocations: 119 kB / 5.982 GB, free: 61.02 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002888/15.74, allocations: 83.2 kB / 5.983 GB, free: 61 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006108/15.74, allocations: 2.171 MB / 5.985 GB, free: 60.92 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.155e-05/15.74, allocations: 33.67 kB / 5.985 GB, free: 60.92 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/15.74, allocations: 3.812 kB / 5.985 GB, free: 60.92 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.619e-05/15.74, allocations: 4.688 kB / 5.985 GB, free: 60.92 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00666/15.75, allocations: 3.131 MB / 5.988 GB, free: 60.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/15.75, allocations: 1.531 kB / 5.988 GB, free: 60.49 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007447/15.75, allocations: 176.2 kB / 5.988 GB, free: 60.49 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004304/15.75, allocations: 128.1 kB / 5.988 GB, free: 60.47 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001061/15.75, allocations: 32.06 kB / 5.988 GB, free: 60.47 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002457/15.75, allocations: 3.015 MB / 5.991 GB, free: 58.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/15.75, allocations: 0.9688 kB / 5.991 GB, free: 58.07 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006321/15.76, allocations: 2.728 MB / 5.994 GB, free: 57.69 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003919/15.76, allocations: 163.6 kB / 5.994 GB, free: 57.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/15.76, allocations: 3.375 kB / 5.994 GB, free: 57.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005242/15.76, allocations: 39.17 kB / 5.994 GB, free: 57.55 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002497/15.76, allocations: 93.38 kB / 5.994 GB, free: 57.55 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000163/15.76, allocations: 74.06 kB / 5.994 GB, free: 57.55 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004041/15.76, allocations: 274.3 kB / 5.994 GB, free: 57.46 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/15.76, allocations: 1.125 kB / 5.994 GB, free: 57.46 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.005363/15.77, allocations: 1.203 MB / 5.995 GB, free: 57.44 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.007301/15.78, allocations: 2.709 MB / 5.998 GB, free: 57.14 MB / 0.6355 GB Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {dynamicPressureInflow1.inlet.state.X[1], dynamicPressureInflow1.inlet.state.X[2]} = $TMP_ThermofluidStream_Interfaces_Outlet$source1$outlet_Medium_ThermodynamicState1.X Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {dynamicPressureInflow.inlet.state.X[1], dynamicPressureInflow.inlet.state.X[2]} = $TMP_ThermofluidStream_Interfaces_Outlet$source$outlet_Medium_ThermodynamicState72.X Notification: Performance of simCode: created initialization part: time 0.003225/15.78, allocations: 1.935 MB / 6 GB, free: 56.86 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/15.78, allocations: 3.344 kB / 6 GB, free: 56.86 MB / 0.6355 GB Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {dynamicPressureInflow.inlet.state.X[1], dynamicPressureInflow.inlet.state.X[2]} = $TMP_ThermofluidStream_Interfaces_Outlet$source$outlet_Medium_ThermodynamicState145.X Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {dynamicPressureInflow1.inlet.state.X[1], dynamicPressureInflow1.inlet.state.X[2]} = $TMP_ThermofluidStream_Interfaces_Outlet$source1$outlet_Medium_ThermodynamicState216.X Notification: Performance of simCode: created simulation system equations: time 0.001606/15.78, allocations: 1.246 MB / 6.001 GB, free: 56.59 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001733/15.78, allocations: 304 kB / 6.002 GB, free: 56.58 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003061/15.79, allocations: 1.571 MB / 6.003 GB, free: 56.35 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005467/15.79, allocations: 1.096 MB / 6.004 GB, free: 55.64 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001172/15.79, allocations: 455 kB / 6.005 GB, free: 55.64 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002402/15.79, allocations: 97.36 kB / 6.005 GB, free: 55.63 MB / 0.6355 GB Notification: Performance of SimCode: time 9.52e-07/15.79, allocations: 0 / 6.005 GB, free: 55.63 MB / 0.6355 GB Notification: Performance of Templates: time 0.0566/15.84, allocations: 37.91 MB / 6.042 GB, free: 54.8 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