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.001124/0.001124, 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 3.2.3+maint.om/package.mo): time 1.708/1.708, allocations: 205.2 MB / 218.5 MB, free: 9.207 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.0009995/0.0009994, allocations: 80.45 kB / 266.6 MB, free: 9.273 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.8773/0.8773, allocations: 90.35 MB / 405 MB, free: 8.613 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.307e-05/4.309e-05, allocations: 0 / 479.2 MB, free: 14.22 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4497/0.4498, allocations: 66.26 MB / 0.5327 GB, free: 28.63 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.7/14.15, allocations: 4.901 GB / 5.434 GB, free: 151.8 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003068/14.15, allocations: 85.23 kB / 5.434 GB, free: 151.8 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.902/18.05, allocations: 0.8332 GB / 6.267 GB, free: 37.26 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.094e-06/18.05, allocations: 0 / 6.267 GB, free: 37.26 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.000142/18.05, allocations: 24 kB / 6.267 GB, free: 37.23 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.02328/18.08, allocations: 4.801 MB / 6.271 GB, free: 32.38 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 7.225e-05/18.08, allocations: 8.031 kB / 6.271 GB, free: 32.37 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000714/18.08, allocations: 156.1 kB / 6.272 GB, free: 32.21 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007375/18.08, allocations: 118.6 kB / 6.272 GB, free: 32.09 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001805/18.08, allocations: 0.5841 MB / 6.272 GB, free: 31.47 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.433e-05/18.08, allocations: 73.94 kB / 6.272 GB, free: 31.39 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003764/18.08, allocations: 95.91 kB / 6.272 GB, free: 31.3 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003089/18.08, allocations: 1.368 MB / 6.274 GB, free: 29.92 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.811e-05/18.08, allocations: 7.984 kB / 6.274 GB, free: 29.91 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001197/18.08, allocations: 39.98 kB / 6.274 GB, free: 29.88 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001602/18.08, allocations: 85.94 kB / 6.274 GB, free: 29.79 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002234/18.09, allocations: 1.496 MB / 6.275 GB, free: 28.29 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007588/18.09, allocations: 5.234 MB / 6.281 GB, free: 22.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001581/18.09, allocations: 0.9636 MB / 6.281 GB, free: 21.53 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001061/18.1, allocations: 0.7978 MB / 6.282 GB, free: 20.72 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001649/18.1, allocations: 1.492 MB / 6.284 GB, free: 18.96 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/18.1, allocations: 47.62 kB / 6.284 GB, free: 18.9 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=122): time 7.274e-06/18.1, allocations: 0 / 6.284 GB, free: 18.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=122): time 0.003239/18.1, allocations: 1.582 MB / 6.285 GB, free: 17.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.111e-05/18.1, allocations: 90.8 kB / 6.285 GB, free: 17.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006614/18.1, allocations: 425 kB / 6.286 GB, free: 16.77 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.566e-05/18.1, allocations: 41.7 kB / 6.286 GB, free: 16.72 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000235/18.1, allocations: 357.1 kB / 6.286 GB, free: 16.37 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003741/18.1, allocations: 421.8 kB / 6.287 GB, free: 15.95 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.64e-05/18.1, allocations: 20 kB / 6.287 GB, free: 15.93 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001486/18.1, allocations: 383.5 kB / 6.287 GB, free: 15.55 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007807/18.1, allocations: 0.5643 MB / 6.288 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008012/18.1, allocations: 0.6373 MB / 6.288 GB, free: 14.34 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008803/18.11, allocations: 0.6195 MB / 6.289 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/18.11, allocations: 0 / 6.289 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002912/18.11, allocations: 1.586 MB / 6.29 GB, free: 12.12 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.878e-05/18.11, allocations: 4 kB / 6.29 GB, free: 12.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/18.11, allocations: 0 / 6.29 GB, free: 12.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005033/18.11, allocations: 125.2 kB / 6.29 GB, free: 12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006927/18.11, allocations: 191.7 kB / 6.291 GB, free: 11.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002625/18.11, allocations: 3.094 MB / 6.294 GB, free: 8.449 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009947/18.11, allocations: 91.2 kB / 6.294 GB, free: 8.359 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002406/18.11, allocations: 107.9 kB / 6.294 GB, free: 8.254 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.0002922/18.11, allocations: 160.5 kB / 6.294 GB, free: 8.09 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004361/18.11, allocations: 90.97 kB / 6.294 GB, free: 8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004715/18.12, allocations: 2.027 MB / 6.296 GB, free: 5.969 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.043e-05/18.12, allocations: 23.98 kB / 6.296 GB, free: 5.945 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.213e-05/18.12, allocations: 7.953 kB / 6.296 GB, free: 5.938 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.492e-05/18.12, allocations: 3.984 kB / 6.296 GB, free: 5.934 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006103/18.12, allocations: 3.278 MB / 6.299 GB, free: 2.586 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.116e-05/18.13, allocations: 0 / 6.299 GB, free: 2.586 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006952/18.13, allocations: 199.7 kB / 6.299 GB, free: 2.391 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004555/18.13, allocations: 125.6 kB / 6.3 GB, free: 2.262 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001288/18.13, allocations: 51.95 kB / 6.3 GB, free: 2.211 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002869/18.13, allocations: 3.113 MB / 6.303 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/18.13, allocations: 4.125 kB / 6.303 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00509/18.13, allocations: 2.735 MB / 6.305 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004896/18.13, allocations: 175.8 kB / 6.305 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002412/18.14, allocations: 27.98 kB / 6.306 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008252/18.14, allocations: 51.8 kB / 6.306 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002524/18.14, allocations: 101 kB / 6.306 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002243/18.14, allocations: 100.2 kB / 6.306 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005419/18.14, allocations: 349.5 kB / 6.306 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.21e-07/18.14, allocations: 0 / 6.306 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.008302/18.15, allocations: 1.665 MB / 6.308 GB, free: 9.57 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.01987/18.17, allocations: 7.768 MB / 6.315 GB, free: 1.543 MB / 0.6198 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.4968/18.66, allocations: 2.029 MB / 6.317 GB, free: 58.33 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 9.208e-06/18.66, allocations: 0 / 6.317 GB, free: 58.33 MB / 0.6198 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.002177/18.66, allocations: 1.308 MB / 6.319 GB, free: 58.05 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001863/18.67, allocations: 307.8 kB / 6.319 GB, free: 58.05 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008639/18.67, allocations: 2.488 MB / 6.321 GB, free: 57.8 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008151/18.68, allocations: 1.095 MB / 6.322 GB, free: 57.1 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001673/18.68, allocations: 317.2 kB / 6.323 GB, free: 57.09 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007677/18.68, allocations: 438.9 kB / 6.323 GB, free: 57.08 MB / 0.6198 GB Notification: Performance of SimCode: time 1.653e-06/18.68, allocations: 1.125 kB / 6.323 GB, free: 57.08 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1525/18.83, allocations: 75.56 MB / 6.397 GB, free: 54.72 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000213/18.83, allocations: 228.4 kB / 6.397 GB, free: 54.46 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.149/23.98, allocations: 3.797 kB / 6.397 GB, free: 54.46 MB / 0.6198 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