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: "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Nozzle,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_Nozzle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Nozzle,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_Nozzle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002175/0.002175, 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.518/1.518, allocations: 221.4 MB / 234.6 MB, free: 14.39 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.001013/0.001013, allocations: 96 kB / 285.6 MB, free: 12.96 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.0128/0.0128, allocations: 1.551 MB / 338 MB, free: 8.457 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.5846/0.5846, allocations: 90.04 MB / 479.3 MB, free: 2.965 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.655e-05/4.674e-05, allocations: 4 kB / 0.5446 GB, free: 7.879 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1784/0.1785, allocations: 69.37 MB / 0.6123 GB, free: 2.422 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.22/12.39, allocations: 4.586 GB / 5.199 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003846/12.39, allocations: 79.95 kB / 5.199 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.615/16.01, allocations: 0.7724 GB / 5.971 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.004e-06/16.01, allocations: 0 / 5.971 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001321/16.01, allocations: 24 kB / 5.971 GB, free: 2.527 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.5922/16.6, allocations: 4.429 MB / 5.975 GB, free: 54.71 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.787e-05/16.6, allocations: 18.14 kB / 5.975 GB, free: 54.7 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004478/16.6, allocations: 148.5 kB / 5.976 GB, free: 54.66 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003829/16.6, allocations: 121.2 kB / 5.976 GB, free: 54.6 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001344/16.6, allocations: 0.5844 MB / 5.976 GB, free: 54.38 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.464e-05/16.6, allocations: 70.08 kB / 5.976 GB, free: 54.38 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001961/16.6, allocations: 97.66 kB / 5.976 GB, free: 54.37 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002607/16.61, allocations: 1.338 MB / 5.978 GB, free: 54.3 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.475e-05/16.61, allocations: 1.156 kB / 5.978 GB, free: 54.3 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.596e-05/16.61, allocations: 39.39 kB / 5.978 GB, free: 54.3 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001849/16.61, allocations: 86.67 kB / 5.978 GB, free: 54.29 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002532/16.61, allocations: 1.471 MB / 5.979 GB, free: 54.29 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007416/16.62, allocations: 5.214 MB / 5.984 GB, free: 51.3 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001835/16.62, allocations: 0.9596 MB / 5.985 GB, free: 51.25 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001277/16.62, allocations: 0.7834 MB / 5.986 GB, free: 51.23 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001379/16.62, allocations: 1.436 MB / 5.988 GB, free: 49.73 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.907e-05/16.62, allocations: 49.98 kB / 5.988 GB, free: 49.69 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=122): time 5.079e-06/16.62, allocations: 2.906 kB / 5.988 GB, free: 49.69 MB / 0.6355 GB Notification: Performance of matching and sorting (n=122): time 0.003408/16.63, allocations: 1.532 MB / 5.989 GB, free: 49.57 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.768e-05/16.63, allocations: 92.42 kB / 5.989 GB, free: 49.48 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000691/16.63, allocations: 424.2 kB / 5.99 GB, free: 49.37 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.751e-05/16.63, allocations: 46.58 kB / 5.99 GB, free: 49.34 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002603/16.63, allocations: 358.4 kB / 5.99 GB, free: 49.2 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004217/16.63, allocations: 416.2 kB / 5.99 GB, free: 48.99 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.592e-05/16.63, allocations: 20.73 kB / 5.99 GB, free: 48.99 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001979/16.63, allocations: 396.7 kB / 5.991 GB, free: 48.67 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00103/16.63, allocations: 0.5493 MB / 5.991 GB, free: 48.67 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001071/16.63, allocations: 0.6175 MB / 5.992 GB, free: 48.65 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/16.63, allocations: 0.6212 MB / 5.992 GB, free: 48.63 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/16.63, allocations: 0 / 5.992 GB, free: 48.63 MB / 0.6355 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003069/16.63, allocations: 1.541 MB / 5.994 GB, free: 48.51 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/16.63, allocations: 3.281 kB / 5.994 GB, free: 48.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/16.63, allocations: 3.031 kB / 5.994 GB, free: 48.51 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004887/16.63, allocations: 120.7 kB / 5.994 GB, free: 48.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006786/16.63, allocations: 173.6 kB / 5.994 GB, free: 48.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002394/16.64, allocations: 3.108 MB / 5.997 GB, free: 45.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009797/16.64, allocations: 88.14 kB / 5.997 GB, free: 45.95 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001801/16.64, allocations: 65.38 kB / 5.997 GB, free: 45.95 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.0002578/16.64, allocations: 160.8 kB / 5.998 GB, free: 45.85 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000283/16.64, allocations: 83.69 kB / 5.998 GB, free: 45.8 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003873/16.64, allocations: 2.157 MB / 6 GB, free: 45.69 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.97e-05/16.64, allocations: 28 kB / 6 GB, free: 45.69 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/16.64, allocations: 6.688 kB / 6 GB, free: 45.69 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.667e-05/16.64, allocations: 6.797 kB / 6 GB, free: 45.69 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005838/16.65, allocations: 3.221 MB / 6.003 GB, free: 45.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.397e-06/16.65, allocations: 1.281 kB / 6.003 GB, free: 45.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007409/16.65, allocations: 178.8 kB / 6.003 GB, free: 45.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004574/16.65, allocations: 125 kB / 6.003 GB, free: 45.21 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001392/16.65, allocations: 46.8 kB / 6.003 GB, free: 45.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002844/16.65, allocations: 3.116 MB / 6.006 GB, free: 42.69 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/16.65, allocations: 1.156 kB / 6.006 GB, free: 42.69 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005338/16.66, allocations: 2.691 MB / 6.009 GB, free: 42.32 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005192/16.66, allocations: 173.8 kB / 6.009 GB, free: 42.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002534/16.66, allocations: 25.53 kB / 6.009 GB, free: 42.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009847/16.66, allocations: 57.52 kB / 6.009 GB, free: 42.17 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002995/16.66, allocations: 97.75 kB / 6.009 GB, free: 42.17 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002629/16.66, allocations: 70.03 kB / 6.009 GB, free: 42.17 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0006778/16.66, allocations: 337.4 kB / 6.01 GB, free: 42.08 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.81e-07/16.66, allocations: 0 / 6.01 GB, free: 42.08 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.006879/16.67, allocations: 1.278 MB / 6.011 GB, free: 42.07 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.01715/16.69, allocations: 7.04 MB / 6.018 GB, free: 39.94 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.004833/16.69, allocations: 2.009 MB / 6.02 GB, free: 39.64 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/16.69, allocations: 0 / 6.02 GB, free: 39.64 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.002912/16.69, allocations: 1.292 MB / 6.021 GB, free: 39.36 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002508/16.7, allocations: 310.2 kB / 6.021 GB, free: 39.35 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008857/16.7, allocations: 2.278 MB / 6.024 GB, free: 39.08 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008866/16.71, allocations: 1.091 MB / 6.025 GB, free: 38.38 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001835/16.71, allocations: 468.1 kB / 6.025 GB, free: 38.36 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008365/16.71, allocations: 398.7 kB / 6.025 GB, free: 38.36 MB / 0.6355 GB Notification: Performance of SimCode: time 1.923e-06/16.71, allocations: 0 / 6.025 GB, free: 38.36 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1428/16.85, allocations: 67.78 MB / 6.092 GB, free: 36.97 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002011/16.85, allocations: 219.9 kB / 6.092 GB, free: 36.75 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.094/21.95, allocations: 0 / 6.092 GB, free: 36.75 MB / 0.6355 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Processes_Tests_Nozzle_fmu --startTime=0 --stopTime=10 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Processes_Tests_Nozzle.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle_res.mat does not exist to compare? outputFormat=mat