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.0009602/0.0009602, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.582/1.582, allocations: 205.3 MB / 213.4 MB, free: 13.76 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.0008227/0.0008226, allocations: 88.14 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.8154/0.8154, allocations: 90.36 MB / 399.7 MB, free: 12.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.884e-05/1.886e-05, allocations: 4 kB / 472.3 MB, free: 3.375 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3676/0.3677, allocations: 66.26 MB / 0.5259 GB, free: 29.04 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.12/11.49, allocations: 4.9 GB / 5.426 GB, free: 48.62 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001938/11.49, allocations: 75.59 kB / 5.426 GB, free: 48.59 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.776/15.26, allocations: 0.8263 GB / 6.252 GB, free: 47.61 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.783e-06/15.27, allocations: 2.875 kB / 6.252 GB, free: 47.61 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001288/15.27, allocations: 29.69 kB / 6.252 GB, free: 47.6 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.02133/15.29, allocations: 4.788 MB / 6.257 GB, free: 45.21 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.439e-05/15.29, allocations: 11.41 kB / 6.257 GB, free: 45.21 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007366/15.29, allocations: 125.9 kB / 6.257 GB, free: 45.15 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001506/15.29, allocations: 0.585 MB / 6.258 GB, free: 44.87 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.488e-05/15.29, allocations: 27.88 kB / 6.258 GB, free: 44.87 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003029/15.29, allocations: 64.66 kB / 6.258 GB, free: 44.86 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00239/15.29, allocations: 1.423 MB / 6.259 GB, free: 44.86 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002312/15.29, allocations: 1.248 MB / 6.261 GB, free: 44.79 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.74e-05/15.29, allocations: 0 / 6.261 GB, free: 44.79 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.133e-05/15.29, allocations: 0 / 6.261 GB, free: 44.79 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001579/15.29, allocations: 93.03 kB / 6.261 GB, free: 44.79 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006732/15.3, allocations: 5.057 MB / 6.266 GB, free: 41.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0014/15.3, allocations: 0.9292 MB / 6.266 GB, free: 41.75 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009507/15.3, allocations: 0.7544 MB / 6.267 GB, free: 41.73 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001529/15.3, allocations: 1.496 MB / 6.269 GB, free: 40.31 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/15.31, allocations: 47.81 kB / 6.269 GB, free: 40.27 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=122): time 5.139e-06/15.31, allocations: 0 / 6.269 GB, free: 40.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=122): time 0.00483/15.31, allocations: 1.663 MB / 6.27 GB, free: 40.15 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/15.31, allocations: 97.55 kB / 6.27 GB, free: 40.05 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003825/15.31, allocations: 347.8 kB / 6.271 GB, free: 39.95 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.112e-05/15.31, allocations: 27.95 kB / 6.271 GB, free: 39.91 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002092/15.31, allocations: 368.9 kB / 6.271 GB, free: 39.73 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002796/15.31, allocations: 401.5 kB / 6.272 GB, free: 39.47 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.86e-05/15.31, allocations: 0 / 6.272 GB, free: 39.47 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001345/15.31, allocations: 387.1 kB / 6.272 GB, free: 39.16 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007389/15.31, allocations: 0.5405 MB / 6.272 GB, free: 39.15 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008354/15.31, allocations: 0.6063 MB / 6.273 GB, free: 39.13 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002933/15.32, allocations: 0.7597 MB / 6.274 GB, free: 39.12 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/15.32, allocations: 0 / 6.274 GB, free: 39.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.004189/15.32, allocations: 1.66 MB / 6.275 GB, free: 39 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/15.32, allocations: 6.312 kB / 6.275 GB, free: 39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/15.32, allocations: 0 / 6.275 GB, free: 39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004428/15.32, allocations: 110.2 kB / 6.276 GB, free: 38.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006738/15.32, allocations: 193 kB / 6.276 GB, free: 38.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002322/15.32, allocations: 3.009 MB / 6.279 GB, free: 36.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006749/15.32, allocations: 64.69 kB / 6.279 GB, free: 36.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001604/15.32, allocations: 101.3 kB / 6.279 GB, free: 36.52 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 () * 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.000194/15.32, allocations: 109.7 kB / 6.279 GB, free: 36.42 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003878/15.33, allocations: 1.668 MB / 6.281 GB, free: 36.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001787/15.33, allocations: 87.33 kB / 6.281 GB, free: 36.25 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004967/15.33, allocations: 2.086 MB / 6.283 GB, free: 36.11 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.181e-05/15.33, allocations: 35.39 kB / 6.283 GB, free: 36.11 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/15.33, allocations: 0 / 6.283 GB, free: 36.11 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/15.33, allocations: 10.19 kB / 6.283 GB, free: 36.11 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00573/15.34, allocations: 3.219 MB / 6.286 GB, free: 35.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/15.34, allocations: 0 / 6.286 GB, free: 35.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006344/15.34, allocations: 197.4 kB / 6.286 GB, free: 35.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003353/15.34, allocations: 126 kB / 6.286 GB, free: 35.64 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.611e-05/15.34, allocations: 41.5 kB / 6.286 GB, free: 35.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001964/15.34, allocations: 3.014 MB / 6.289 GB, free: 33.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/15.34, allocations: 2.812 kB / 6.289 GB, free: 33.22 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004845/15.35, allocations: 2.815 MB / 6.292 GB, free: 32.84 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002386/15.35, allocations: 170.2 kB / 6.292 GB, free: 32.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/15.35, allocations: 9.531 kB / 6.292 GB, free: 32.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004961/15.35, allocations: 38.67 kB / 6.292 GB, free: 32.67 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000149/15.35, allocations: 96.08 kB / 6.292 GB, free: 32.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001558/15.35, allocations: 104.2 kB / 6.292 GB, free: 32.67 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002952/15.35, allocations: 283.3 kB / 6.293 GB, free: 32.58 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/15.35, allocations: 0 / 6.293 GB, free: 32.58 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.005406/15.35, allocations: 1.583 MB / 6.294 GB, free: 32.19 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 () * 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.01344/15.37, allocations: 8.051 MB / 6.302 GB, free: 29.64 MB / 0.6042 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.002832/15.37, allocations: 1.97 MB / 6.304 GB, free: 29.36 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.207e-06/15.37, allocations: 0 / 6.304 GB, free: 29.36 MB / 0.6042 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.001586/15.37, allocations: 1.269 MB / 6.305 GB, free: 29.08 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001746/15.37, allocations: 284.6 kB / 6.305 GB, free: 29.07 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006369/15.38, allocations: 2.391 MB / 6.308 GB, free: 28.36 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005879/15.38, allocations: 1.098 MB / 6.309 GB, free: 27.65 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001369/15.38, allocations: 316.8 kB / 6.309 GB, free: 27.61 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006927/15.38, allocations: 434.6 kB / 6.31 GB, free: 27.6 MB / 0.6042 GB Notification: Performance of SimCode: time 7.62e-07/15.38, allocations: 0 / 6.31 GB, free: 27.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09749/15.48, allocations: 55.73 MB / 6.364 GB, free: 17.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001768/15.48, allocations: 182 kB / 6.364 GB, free: 17.79 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.333/19.81, allocations: 0 / 6.364 GB, free: 17.79 MB / 0.6042 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