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.001359/0.001359, allocations: 176.2 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.37/1.37, allocations: 221.5 MB / 229.6 MB, free: 7.598 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.0008413/0.0008413, allocations: 89.97 kB / 280.5 MB, free: 5.34 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.009174/0.009174, allocations: 1.562 MB / 332.8 MB, free: 13.56 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.743/0.743, allocations: 90.04 MB / 474 MB, free: 13.04 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.766e-05/1.769e-05, allocations: 2.75 kB / 0.5376 GB, free: 33.05 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1471, allocations: 69.36 MB / 0.6053 GB, free: 44 kB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.75/10.9, allocations: 4.586 GB / 5.191 GB, free: 216 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/10.9, allocations: 79.31 kB / 5.191 GB, free: 216 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.129/14.03, allocations: 0.7658 GB / 5.957 GB, free: 53.73 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.206e-06/14.03, allocations: 7.562 kB / 5.957 GB, free: 53.73 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.483e-05/14.03, allocations: 26.38 kB / 5.957 GB, free: 53.73 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.01786/14.05, allocations: 4.439 MB / 5.961 GB, free: 51.45 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/14.05, allocations: 11.22 kB / 5.961 GB, free: 51.45 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004298/14.05, allocations: 121.2 kB / 5.961 GB, free: 51.39 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/14.05, allocations: 0.5802 MB / 5.962 GB, free: 51.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.306e-05/14.05, allocations: 33.39 kB / 5.962 GB, free: 51.12 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001304/14.05, allocations: 57.09 kB / 5.962 GB, free: 51.12 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001817/14.05, allocations: 1.402 MB / 5.963 GB, free: 51.11 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001644/14.05, allocations: 1.223 MB / 5.965 GB, free: 51.04 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/14.05, allocations: 0 / 5.965 GB, free: 51.04 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.016e-05/14.05, allocations: 2.438 kB / 5.965 GB, free: 51.04 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001338/14.05, allocations: 87.53 kB / 5.965 GB, free: 51.04 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005774/14.06, allocations: 5.028 MB / 5.97 GB, free: 48.05 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001459/14.06, allocations: 0.92 MB / 5.97 GB, free: 47.99 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008733/14.06, allocations: 0.7525 MB / 5.971 GB, free: 47.97 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00137/14.06, allocations: 1.428 MB / 5.973 GB, free: 46.47 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.87e-05/14.06, allocations: 55.39 kB / 5.973 GB, free: 46.43 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=122): time 4.629e-06/14.06, allocations: 0 / 5.973 GB, free: 46.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=122): time 0.003964/14.07, allocations: 1.585 MB / 5.974 GB, free: 46.3 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/14.07, allocations: 88.45 kB / 5.974 GB, free: 46.21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003639/14.07, allocations: 349.9 kB / 5.975 GB, free: 46.1 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.499e-05/14.07, allocations: 25.7 kB / 5.975 GB, free: 46.07 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000186/14.07, allocations: 368.9 kB / 5.975 GB, free: 45.89 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002584/14.07, allocations: 404.7 kB / 5.975 GB, free: 45.62 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.213e-05/14.07, allocations: 3.312 kB / 5.975 GB, free: 45.62 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001286/14.07, allocations: 386.2 kB / 5.976 GB, free: 45.31 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006254/14.07, allocations: 0.5312 MB / 5.976 GB, free: 45.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007081/14.07, allocations: 0.5975 MB / 5.977 GB, free: 45.28 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00217/14.07, allocations: 0.7084 MB / 5.978 GB, free: 45.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/14.07, allocations: 2.312 kB / 5.978 GB, free: 45.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003414/14.08, allocations: 1.577 MB / 5.979 GB, free: 45.15 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/14.08, allocations: 7.312 kB / 5.979 GB, free: 45.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/14.08, allocations: 1.125 kB / 5.979 GB, free: 45.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003996/14.08, allocations: 109.6 kB / 5.979 GB, free: 45.13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006397/14.08, allocations: 179.6 kB / 5.979 GB, free: 45.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002156/14.08, allocations: 3 MB / 5.982 GB, free: 42.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006332/14.08, allocations: 63.19 kB / 5.982 GB, free: 42.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001359/14.08, allocations: 72.55 kB / 5.982 GB, free: 42.68 MB / 0.6198 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.0001724/14.08, allocations: 111.4 kB / 5.983 GB, free: 42.57 MB / 0.6198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003705/14.08, allocations: 1.592 MB / 5.984 GB, free: 42.45 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001699/14.08, allocations: 79.34 kB / 5.984 GB, free: 42.41 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004752/14.09, allocations: 2.18 MB / 5.986 GB, free: 42.27 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.165e-05/14.09, allocations: 28.62 kB / 5.986 GB, free: 42.27 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/14.09, allocations: 0 / 5.986 GB, free: 42.27 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.601e-05/14.09, allocations: 7.312 kB / 5.986 GB, free: 42.27 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006074/14.1, allocations: 3.131 MB / 5.989 GB, free: 41.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/14.1, allocations: 3.156 kB / 5.989 GB, free: 41.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00065/14.1, allocations: 179.9 kB / 5.99 GB, free: 41.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003544/14.1, allocations: 122.7 kB / 5.99 GB, free: 41.8 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.304e-05/14.1, allocations: 37.86 kB / 5.99 GB, free: 41.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002261/14.1, allocations: 3.006 MB / 5.993 GB, free: 39.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/14.1, allocations: 7.047 kB / 5.993 GB, free: 39.38 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004852/14.1, allocations: 2.721 MB / 5.995 GB, free: 39.01 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002914/14.1, allocations: 159.9 kB / 5.995 GB, free: 38.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/14.1, allocations: 7.25 kB / 5.995 GB, free: 38.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005277/14.1, allocations: 40.38 kB / 5.995 GB, free: 38.84 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001552/14.1, allocations: 97.42 kB / 5.996 GB, free: 38.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001274/14.1, allocations: 68.17 kB / 5.996 GB, free: 38.84 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003092/14.1, allocations: 276.1 kB / 5.996 GB, free: 38.75 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.61e-07/14.1, allocations: 0 / 5.996 GB, free: 38.75 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.004196/14.11, allocations: 1.211 MB / 5.997 GB, free: 38.47 MB / 0.6198 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.01164/14.12, allocations: 7.285 MB / 6.004 GB, free: 36.06 MB / 0.6198 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.002956/14.12, allocations: 1.938 MB / 6.006 GB, free: 35.78 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/14.12, allocations: 6.844 kB / 6.006 GB, free: 35.78 MB / 0.6198 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.001598/14.13, allocations: 1.243 MB / 6.007 GB, free: 35.51 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001695/14.13, allocations: 294.9 kB / 6.008 GB, free: 35.49 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00547/14.13, allocations: 2.173 MB / 6.01 GB, free: 34.86 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005351/14.13, allocations: 1.087 MB / 6.011 GB, free: 34.15 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001083/14.13, allocations: 454.1 kB / 6.011 GB, free: 34.12 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004806/14.13, allocations: 398 kB / 6.012 GB, free: 34.11 MB / 0.6198 GB Notification: Performance of SimCode: time 7.51e-07/14.13, allocations: 0 / 6.012 GB, free: 34.11 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08924/14.22, allocations: 49.32 MB / 6.06 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001631/14.22, allocations: 160.3 kB / 6.06 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.159/18.38, allocations: 3.938 kB / 6.06 GB, free: 22.74 MB / 0.6198 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