Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Nozzle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Nozzle,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_Nozzle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Nozzle,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_Nozzle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.007303/0.007303, allocations: 168.9 kB / 15.11 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.645/1.645, allocations: 205.4 MB / 221.3 MB, free: 13.8 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008333/0.0008334, allocations: 82.88 kB / 269.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.8391/0.8391, allocations: 90.6 MB / 408.5 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003279/0.0003279, allocations: 11.98 kB / 485.3 MB, free: 1.973 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4363/0.4366, allocations: 66.28 MB / 0.5387 GB, free: 45.58 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.45/11.89, allocations: 4.901 GB / 5.44 GB, free: 8.328 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002903/11.89, allocations: 81.47 kB / 5.44 GB, free: 8.289 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.846/15.73, allocations: 0.8348 GB / 6.274 GB, free: 47.54 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.803e-06/15.73, allocations: 3.938 kB / 6.274 GB, free: 47.54 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001371/15.73, allocations: 26.22 kB / 6.274 GB, free: 47.53 MB / 0.6042 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.02209/15.75, allocations: 4.917 MB / 6.279 GB, free: 44.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.483e-05/15.75, allocations: 9.625 kB / 6.279 GB, free: 44.7 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000653/15.76, allocations: 150.1 kB / 6.279 GB, free: 44.66 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006513/15.76, allocations: 126.3 kB / 6.279 GB, free: 44.6 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00156/15.76, allocations: 0.5916 MB / 6.28 GB, free: 44.3 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.473e-05/15.76, allocations: 63.98 kB / 6.28 GB, free: 44.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003488/15.76, allocations: 103.5 kB / 6.28 GB, free: 44.29 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002735/15.76, allocations: 1.38 MB / 6.282 GB, free: 44.22 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.869e-05/15.76, allocations: 2.875 kB / 6.282 GB, free: 44.22 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001128/15.76, allocations: 35.7 kB / 6.282 GB, free: 44.22 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001646/15.76, allocations: 83.22 kB / 6.282 GB, free: 44.21 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002327/15.76, allocations: 1.525 MB / 6.283 GB, free: 44.2 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007231/15.77, allocations: 5.233 MB / 6.288 GB, free: 41.13 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001683/15.77, allocations: 0.9809 MB / 6.289 GB, free: 41.08 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001608/15.77, allocations: 1.489 MB / 6.291 GB, free: 39.66 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.234e-05/15.77, allocations: 51.73 kB / 6.291 GB, free: 39.61 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=122): time 6.712e-06/15.77, allocations: 0 / 6.291 GB, free: 39.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=122): time 0.004766/15.78, allocations: 2.617 MB / 6.293 GB, free: 39.09 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/15.78, allocations: 88.23 kB / 6.293 GB, free: 39 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006635/15.78, allocations: 426.1 kB / 6.294 GB, free: 38.88 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.313e-05/15.78, allocations: 43.61 kB / 6.294 GB, free: 38.85 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002742/15.78, allocations: 358.6 kB / 6.294 GB, free: 38.69 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003638/15.78, allocations: 415.8 kB / 6.295 GB, free: 38.42 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.823e-05/15.78, allocations: 26.34 kB / 6.295 GB, free: 38.42 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001505/15.78, allocations: 391.5 kB / 6.295 GB, free: 38.1 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008013/15.78, allocations: 0.5682 MB / 6.296 GB, free: 38.1 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008378/15.78, allocations: 0.6369 MB / 6.296 GB, free: 38.07 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008951/15.78, allocations: 0.6299 MB / 6.297 GB, free: 38.06 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.032e-06/15.78, allocations: 2.812 kB / 6.297 GB, free: 38.06 MB / 0.6042 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002746/15.79, allocations: 1.605 MB / 6.298 GB, free: 37.93 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/15.79, allocations: 3.312 kB / 6.298 GB, free: 37.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/15.79, allocations: 2.656 kB / 6.298 GB, free: 37.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000466/15.79, allocations: 119 kB / 6.298 GB, free: 37.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007153/15.79, allocations: 191.9 kB / 6.299 GB, free: 37.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002534/15.79, allocations: 3.151 MB / 6.302 GB, free: 35.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008509/15.79, allocations: 87.86 kB / 6.302 GB, free: 35.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002124/15.79, allocations: 102.2 kB / 6.302 GB, free: 35.05 MB / 0.6042 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.0006435/15.79, allocations: 262.3 kB / 6.302 GB, free: 34.86 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003824/15.79, allocations: 92.52 kB / 6.302 GB, free: 34.81 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004283/15.8, allocations: 2.05 MB / 6.304 GB, free: 34.02 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.744e-05/15.8, allocations: 20.31 kB / 6.304 GB, free: 34.02 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.759e-05/15.8, allocations: 3.281 kB / 6.304 GB, free: 34.02 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.483e-05/15.8, allocations: 7.078 kB / 6.304 GB, free: 34.02 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005676/15.8, allocations: 3.307 MB / 6.307 GB, free: 32.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/15.8, allocations: 2.375 kB / 6.307 GB, free: 32.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006941/15.8, allocations: 189.6 kB / 6.308 GB, free: 32.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004046/15.8, allocations: 125.9 kB / 6.308 GB, free: 32.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001298/15.8, allocations: 60.92 kB / 6.308 GB, free: 32.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002415/15.81, allocations: 3.148 MB / 6.311 GB, free: 29.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/15.81, allocations: 0 / 6.311 GB, free: 29.47 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004166/15.81, allocations: 2.781 MB / 6.314 GB, free: 28.13 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004205/15.81, allocations: 175.7 kB / 6.314 GB, free: 27.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002196/15.81, allocations: 29.02 kB / 6.314 GB, free: 27.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007532/15.81, allocations: 51.31 kB / 6.314 GB, free: 27.92 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002114/15.81, allocations: 104.9 kB / 6.314 GB, free: 27.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001971/15.81, allocations: 108.6 kB / 6.314 GB, free: 27.9 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000499/15.81, allocations: 341.3 kB / 6.314 GB, free: 27.74 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.5e-07/15.81, allocations: 0 / 6.314 GB, free: 27.74 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.006729/15.82, allocations: 1.658 MB / 6.316 GB, free: 27.18 MB / 0.6042 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.01733/15.84, allocations: 7.786 MB / 6.324 GB, free: 23.41 MB / 0.6042 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.004113/15.84, allocations: 2.063 MB / 6.326 GB, free: 22.49 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/15.84, allocations: 0 / 6.326 GB, free: 22.49 MB / 0.6042 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.00231/15.84, allocations: 1.311 MB / 6.327 GB, free: 21.84 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002059/15.85, allocations: 323.4 kB / 6.327 GB, free: 21.77 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01591/15.86, allocations: 8.443 MB / 6.335 GB, free: 14.12 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00075/15.86, allocations: 1.092 MB / 6.337 GB, free: 13.16 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001743/15.86, allocations: 322.9 kB / 6.337 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008194/15.86, allocations: 444.8 kB / 6.337 GB, free: 12.58 MB / 0.6042 GB Notification: Performance of SimCode: time 8.836e-06/15.86, allocations: 0 / 6.337 GB, free: 12.58 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5569/16.42, allocations: 70.69 MB / 6.406 GB, free: 77.2 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002136/16.42, allocations: 260.8 kB / 6.407 GB, free: 76.86 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.914/21.34, allocations: 0 / 6.407 GB, free: 76.86 MB / 0.6355 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Nozzle.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Nozzle.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Nozzle.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Nozzle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Nozzle_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_Nozzle_fmu --startTime=0 --stopTime=10 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_Nozzle.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Nozzle.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Nozzle_res.mat does not exist to compare? outputFormat=mat