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.006918/0.006918, allocations: 168.9 kB / 15.13 MB, free: 6.023 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.386/1.386, 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.0008052/0.0008052, allocations: 90.28 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.7223/0.7223, allocations: 90.6 MB / 408.5 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003178/0.000318, allocations: 8 kB / 485.3 MB, free: 1.961 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3779/0.3782, allocations: 66.28 MB / 0.5387 GB, free: 45.47 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.6154/0.9937, allocations: 249.8 MB / 0.7826 GB, free: 5.684 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01943/1.013, allocations: 14.92 MB / 0.7972 GB, free: 5.527 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001526/1.015, allocations: 15.38 kB / 0.7972 GB, free: 5.527 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.002176/1.017, allocations: 0.6263 MB / 0.7978 GB, free: 5.523 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0131/1.03, allocations: 4.03 MB / 0.8017 GB, free: 5.363 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.009876/1.04, allocations: 3.055 MB / 0.8047 GB, free: 5.262 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.004431/1.044, allocations: 2.129 MB / 0.8068 GB, free: 5.262 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007798/1.045, allocations: 279.6 kB / 0.807 GB, free: 5.199 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00358/1.049, allocations: 0.9811 MB / 0.808 GB, free: 5.18 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001391/1.05, allocations: 0.6753 MB / 0.8087 GB, free: 5.18 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002294/1.05, allocations: 43.19 kB / 0.8087 GB, free: 5.18 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02907/1.08, allocations: 11.68 MB / 0.8201 GB, free: 4.102 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0009501/1.081, allocations: 292.8 kB / 0.8204 GB, free: 4.008 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.001354/1.082, allocations: 240.2 kB / 0.8206 GB, free: 19.98 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.01356/1.095, allocations: 4.756 MB / 0.8253 GB, free: 18.22 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/1.096, allocations: 0 / 0.8253 GB, free: 18.22 MB / 0.573 GB Notification: Performance of FrontEnd: time 3.637e-06/1.096, allocations: 0 / 0.8253 GB, free: 18.22 MB / 0.573 GB Notification: Performance of Transformations before backend: time 7.816e-05/1.096, allocations: 2.438 kB / 0.8253 GB, free: 18.22 MB / 0.573 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.008203/1.104, allocations: 2.665 MB / 0.8279 GB, free: 16.52 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/1.104, allocations: 8.406 kB / 0.8279 GB, free: 16.52 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004268/1.104, allocations: 147.4 kB / 0.828 GB, free: 16.46 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004022/1.105, allocations: 127.7 kB / 0.8281 GB, free: 16.39 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001196/1.106, allocations: 0.5711 MB / 0.8287 GB, free: 16.04 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.056e-05/1.106, allocations: 67.45 kB / 0.8288 GB, free: 16.04 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002104/1.106, allocations: 94.16 kB / 0.8288 GB, free: 16.04 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002318/1.109, allocations: 1.419 MB / 0.8302 GB, free: 15.71 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/1.109, allocations: 0 / 0.8302 GB, free: 15.71 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.121e-05/1.109, allocations: 33.97 kB / 0.8303 GB, free: 15.71 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001244/1.109, allocations: 88.25 kB / 0.8304 GB, free: 15.7 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002157/1.111, allocations: 1.552 MB / 0.8319 GB, free: 15.49 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007947/1.119, allocations: 5.309 MB / 0.8371 GB, free: 11.76 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001527/1.121, allocations: 0.9304 MB / 0.838 GB, free: 11.62 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001023/1.122, allocations: 0.7759 MB / 0.8387 GB, free: 11.52 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004844/1.126, allocations: 4.614 MB / 0.8432 GB, free: 6.957 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.296e-05/1.127, allocations: 45 kB / 0.8433 GB, free: 6.914 MB / 0.573 GB Notification: Performance of pre-optimization done (n=122): time 6.652e-06/1.127, allocations: 0 / 0.8433 GB, free: 6.914 MB / 0.573 GB Notification: Performance of matching and sorting (n=122): time 0.004708/1.131, allocations: 2.335 MB / 0.8455 GB, free: 6.348 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.973e-05/1.131, allocations: 88.11 kB / 0.8456 GB, free: 6.254 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008458/1.132, allocations: 493.8 kB / 0.8461 GB, free: 6.066 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001109/1.132, allocations: 49.75 kB / 0.8462 GB, free: 6.031 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003152/1.133, allocations: 354.9 kB / 0.8465 GB, free: 5.836 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004992/1.133, allocations: 414.1 kB / 0.8469 GB, free: 5.535 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.655e-05/1.133, allocations: 16.84 kB / 0.8469 GB, free: 5.535 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002811/1.134, allocations: 390.9 kB / 0.8473 GB, free: 5.195 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009243/1.134, allocations: 0.5311 MB / 0.8478 GB, free: 5.133 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009427/1.135, allocations: 0.6026 MB / 0.8484 GB, free: 5.031 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009193/1.136, allocations: 0.5886 MB / 0.849 GB, free: 4.988 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/1.136, allocations: 0 / 0.849 GB, free: 4.988 MB / 0.573 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002687/1.139, allocations: 1.533 MB / 0.8505 GB, free: 3.973 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/1.139, allocations: 5.859 kB / 0.8505 GB, free: 3.969 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/1.139, allocations: 3.984 kB / 0.8505 GB, free: 3.965 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004496/1.14, allocations: 111.5 kB / 0.8506 GB, free: 3.875 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007054/1.14, allocations: 197.3 kB / 0.8508 GB, free: 3.703 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003284/1.144, allocations: 3.122 MB / 0.8538 GB, free: 0.6914 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008545/1.144, allocations: 90.36 kB / 0.8539 GB, free: 0.6172 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000226/1.145, allocations: 99.83 kB / 0.854 GB, free: 0.5312 MB / 0.573 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.0005606/1.145, allocations: 261.5 kB / 0.8542 GB, free: 360 kB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002789/1.146, allocations: 82.97 kB / 0.8543 GB, free: 276 kB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00424/1.15, allocations: 1.984 MB / 0.8563 GB, free: 14.96 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.421e-05/1.15, allocations: 16 kB / 0.8563 GB, free: 14.94 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.976e-06/1.15, allocations: 4 kB / 0.8563 GB, free: 14.94 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-05/1.15, allocations: 11.97 kB / 0.8563 GB, free: 14.93 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005689/1.156, allocations: 3.256 MB / 0.8595 GB, free: 12.72 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.181e-05/1.156, allocations: 4 kB / 0.8595 GB, free: 12.71 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007306/1.156, allocations: 191.2 kB / 0.8596 GB, free: 12.55 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004521/1.157, allocations: 124.7 kB / 0.8598 GB, free: 12.45 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000137/1.157, allocations: 57.77 kB / 0.8598 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003123/1.16, allocations: 3.121 MB / 0.8629 GB, free: 9.391 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.16, allocations: 6.625 kB / 0.8629 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00406/1.164, allocations: 2.616 MB / 0.8654 GB, free: 7.676 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004065/1.165, allocations: 171.2 kB / 0.8656 GB, free: 7.492 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001848/1.165, allocations: 25.94 kB / 0.8656 GB, free: 7.48 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006796/1.166, allocations: 63.16 kB / 0.8657 GB, free: 7.438 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002319/1.166, allocations: 100.5 kB / 0.8658 GB, free: 7.352 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002084/1.166, allocations: 93.47 kB / 0.8659 GB, free: 7.27 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.000425/1.166, allocations: 345 kB / 0.8662 GB, free: 7.004 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.132e-06/1.166, allocations: 0 / 0.8662 GB, free: 7.004 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.004238/1.171, allocations: 1.387 MB / 0.8675 GB, free: 5.754 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (dynamicPressureOutflow1.inlet.m_flow,dynamicPressureOutflow.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.01019/1.181, allocations: 5.046 MB / 0.8725 GB, free: 1.832 MB / 0.5886 GB Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {dynamicPressureInflow1.inlet.state.X[1], dynamicPressureInflow1.inlet.state.X[2]} = $TMP_ThermofluidStream_Processes_Tests_Nozzle_source1_outlet_Medium_ThermodynamicState1.X Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {dynamicPressureInflow.inlet.state.X[1], dynamicPressureInflow.inlet.state.X[2]} = $TMP_ThermofluidStream_Processes_Tests_Nozzle_source_outlet_Medium_ThermodynamicState76.X Notification: Performance of simCode: created initialization part: time 0.003544/1.184, allocations: 1.826 MB / 0.8743 GB, free: 500 kB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/1.184, allocations: 0 / 0.8743 GB, free: 500 kB / 0.5886 GB Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {dynamicPressureInflow.inlet.state.X[1], dynamicPressureInflow.inlet.state.X[2]} = $TMP_ThermofluidStream_Processes_Tests_Nozzle_source_outlet_Medium_ThermodynamicState153.X Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {dynamicPressureInflow1.inlet.state.X[1], dynamicPressureInflow1.inlet.state.X[2]} = $TMP_ThermofluidStream_Processes_Tests_Nozzle_source1_outlet_Medium_ThermodynamicState228.X Notification: Performance of simCode: created simulation system equations: time 0.002076/1.187, allocations: 1.219 MB / 0.8754 GB, free: 15.57 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002002/1.189, allocations: 339.7 kB / 0.8758 GB, free: 15.33 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01217/1.201, allocations: 6.884 MB / 0.8825 GB, free: 9.746 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008386/1.202, allocations: 1.093 MB / 0.8836 GB, free: 8.645 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001708/1.203, allocations: 369.8 kB / 0.8839 GB, free: 8.301 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008158/1.204, allocations: 463.8 kB / 0.8844 GB, free: 8.141 MB / 0.6042 GB Notification: Performance of SimCode: time 1.533e-06/1.204, allocations: 8 kB / 0.8844 GB, free: 8.133 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08715/1.291, allocations: 54.68 MB / 0.9378 GB, free: 1.793 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002243/1.292, allocations: 261.8 kB / 0.938 GB, free: 1.438 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.953/5.244, allocations: 7.938 kB / 0.938 GB, free: 1.43 MB / 0.6511 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