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.007699/0.0077, allocations: 172.6 kB / 15.12 MB, free: 5.578 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.652/1.652, allocations: 223.2 MB / 239 MB, free: 72 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001158, allocations: 94.38 kB / 290.2 MB, free: 4.477 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.01144/0.01144, allocations: 1.563 MB / 342.9 MB, free: 11.39 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.8159/0.8159, allocations: 90.31 MB / 484.6 MB, free: 39.91 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007525/0.0007526, allocations: 12.22 kB / 0.5527 GB, free: 6.512 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3837/0.3845, allocations: 69.36 MB / 0.6204 GB, free: 20.81 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.66/11.05, allocations: 4.586 GB / 5.207 GB, free: 238.4 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002703/11.05, allocations: 82.92 kB / 5.207 GB, free: 238.3 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.451/14.5, allocations: 0.7738 GB / 5.981 GB, free: 58.32 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.964e-06/14.5, allocations: 6.875 kB / 5.981 GB, free: 58.32 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.66e-05/14.5, allocations: 27.42 kB / 5.981 GB, free: 58.32 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.02001/14.52, allocations: 4.555 MB / 5.985 GB, free: 56.3 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.616e-05/14.52, allocations: 11.83 kB / 5.985 GB, free: 56.3 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004328/14.52, allocations: 152.2 kB / 5.985 GB, free: 56.26 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003071/14.52, allocations: 121.3 kB / 5.985 GB, free: 56.2 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001192/14.52, allocations: 0.5928 MB / 5.986 GB, free: 55.93 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.008e-05/14.52, allocations: 67.59 kB / 5.986 GB, free: 55.92 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001332/14.52, allocations: 94.11 kB / 5.986 GB, free: 55.92 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001952/14.53, allocations: 1.358 MB / 5.987 GB, free: 55.85 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.793e-05/14.53, allocations: 4.625 kB / 5.987 GB, free: 55.85 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.69e-05/14.53, allocations: 35.34 kB / 5.988 GB, free: 55.85 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000144/14.53, allocations: 83.64 kB / 5.988 GB, free: 55.85 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00194/14.53, allocations: 1.495 MB / 5.989 GB, free: 55.84 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006609/14.53, allocations: 5.218 MB / 5.994 GB, free: 52.8 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001527/14.54, allocations: 0.9695 MB / 5.995 GB, free: 52.75 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001337/14.54, allocations: 1.429 MB / 5.996 GB, free: 51.25 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/14.54, allocations: 46.81 kB / 5.997 GB, free: 51.21 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=122): time 4.659e-06/14.54, allocations: 0 / 5.997 GB, free: 51.21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=122): time 0.00406/14.54, allocations: 2.558 MB / 5.999 GB, free: 50.71 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.587e-05/14.54, allocations: 90.17 kB / 5.999 GB, free: 50.61 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005097/14.54, allocations: 432.3 kB / 6 GB, free: 50.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.882e-05/14.54, allocations: 49.61 kB / 6 GB, free: 50.47 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002257/14.54, allocations: 358.2 kB / 6 GB, free: 50.3 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003471/14.54, allocations: 415 kB / 6 GB, free: 50.04 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.159e-05/14.54, allocations: 18.05 kB / 6 GB, free: 50.04 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000176/14.54, allocations: 400.6 kB / 6.001 GB, free: 49.72 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000761/14.54, allocations: 0.5562 MB / 6.001 GB, free: 49.72 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008241/14.54, allocations: 0.6247 MB / 6.002 GB, free: 49.7 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000834/14.54, allocations: 0.6268 MB / 6.002 GB, free: 49.68 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/14.54, allocations: 3.281 kB / 6.002 GB, free: 49.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002503/14.55, allocations: 1.568 MB / 6.004 GB, free: 49.56 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/14.55, allocations: 3.344 kB / 6.004 GB, free: 49.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/14.55, allocations: 3.953 kB / 6.004 GB, free: 49.56 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000472/14.55, allocations: 115.1 kB / 6.004 GB, free: 49.54 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007047/14.55, allocations: 176.1 kB / 6.004 GB, free: 49.54 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002494/14.55, allocations: 3.156 MB / 6.007 GB, free: 47.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008714/14.55, allocations: 88.11 kB / 6.007 GB, free: 46.96 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000166/14.55, allocations: 71.78 kB / 6.008 GB, free: 46.96 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 () * Number of clocked 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.0005672/14.55, allocations: 260 kB / 6.008 GB, free: 46.85 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002692/14.55, allocations: 89.05 kB / 6.008 GB, free: 46.8 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003738/14.56, allocations: 2.178 MB / 6.01 GB, free: 46.68 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.24e-05/14.56, allocations: 26.31 kB / 6.01 GB, free: 46.68 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/14.56, allocations: 2.5 kB / 6.01 GB, free: 46.68 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/14.56, allocations: 3.844 kB / 6.01 GB, free: 46.68 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005076/14.56, allocations: 3.242 MB / 6.013 GB, free: 46.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.307e-06/14.56, allocations: 3.953 kB / 6.013 GB, free: 46.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006791/14.56, allocations: 181.7 kB / 6.013 GB, free: 46.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000401/14.56, allocations: 122.2 kB / 6.013 GB, free: 46.18 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-05/14.56, allocations: 51.95 kB / 6.014 GB, free: 46.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002443/14.57, allocations: 3.16 MB / 6.017 GB, free: 43.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/14.57, allocations: 0 / 6.017 GB, free: 43.66 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003824/14.57, allocations: 2.721 MB / 6.019 GB, free: 43.29 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003848/14.57, allocations: 169.6 kB / 6.019 GB, free: 43.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/14.57, allocations: 28.39 kB / 6.019 GB, free: 43.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006089/14.57, allocations: 57.31 kB / 6.02 GB, free: 43.12 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002015/14.57, allocations: 93.83 kB / 6.02 GB, free: 43.11 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001555/14.57, allocations: 75.2 kB / 6.02 GB, free: 43.11 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004395/14.57, allocations: 338.1 kB / 6.02 GB, free: 43.02 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.31e-07/14.57, allocations: 0 / 6.02 GB, free: 43.02 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.005243/14.58, allocations: 1.283 MB / 6.021 GB, free: 42.75 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 () * Number of clocked 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.01184/14.59, allocations: 7.052 MB / 6.028 GB, free: 40.39 MB / 0.6355 GB Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {dynamicPressureInflow1.inlet.state.X[1], dynamicPressureInflow1.inlet.state.X[2]} = $TMP_ThermofluidStream_Interfaces__omcQOutlet_24source1_24outlet_Medium_ThermodynamicState1.X Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {dynamicPressureInflow.inlet.state.X[1], dynamicPressureInflow.inlet.state.X[2]} = $TMP_ThermofluidStream_Interfaces__omcQOutlet_24source_24outlet_Medium_ThermodynamicState72.X Notification: Performance of simCode: created initialization part: time 0.003346/14.59, allocations: 2.031 MB / 6.03 GB, free: 40.07 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/14.59, allocations: 0 / 6.03 GB, free: 40.07 MB / 0.6355 GB Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {dynamicPressureInflow.inlet.state.X[1], dynamicPressureInflow.inlet.state.X[2]} = $TMP_ThermofluidStream_Interfaces__omcQOutlet_24source_24outlet_Medium_ThermodynamicState145.X Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {dynamicPressureInflow1.inlet.state.X[1], dynamicPressureInflow1.inlet.state.X[2]} = $TMP_ThermofluidStream_Interfaces__omcQOutlet_24source1_24outlet_Medium_ThermodynamicState216.X Notification: Performance of simCode: created simulation system equations: time 0.001738/14.59, allocations: 1.299 MB / 6.031 GB, free: 39.77 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001635/14.6, allocations: 312.8 kB / 6.032 GB, free: 39.76 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01193/14.61, allocations: 8.217 MB / 6.04 GB, free: 36.86 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006158/14.61, allocations: 1.088 MB / 6.041 GB, free: 36.15 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001213/14.61, allocations: 460.3 kB / 6.041 GB, free: 36.12 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005232/14.61, allocations: 398.2 kB / 6.042 GB, free: 36.11 MB / 0.6355 GB Notification: Performance of SimCode: time 9.91e-07/14.61, allocations: 2.812 kB / 6.042 GB, free: 36.11 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1168/14.73, allocations: 63.26 MB / 6.103 GB, free: 33.02 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002428/14.73, allocations: 254.2 kB / 6.104 GB, free: 32.73 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.874/19.6, allocations: 0 / 6.104 GB, free: 32.73 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