Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.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) 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(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650",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.001789/0.001789, allocations: 180.7 kB / 8.7 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.983/1.983, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001342/0.001341, allocations: 82.23 kB / 262.5 MB, free: 1.68 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.695e-05/2.698e-05, allocations: 4.219 kB / 315.6 MB, free: 22.62 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1099, allocations: 47.6 MB / 363.2 MB, free: 6.969 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7831/0.8931, allocations: 188 MB / 0.5383 GB, free: 113.4 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003547/0.8935, allocations: 98.77 kB / 0.5384 GB, free: 113.4 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7096/1.603, allocations: 208.6 MB / 0.7421 GB, free: 95.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.924e-06/1.603, allocations: 0 / 0.7421 GB, free: 95.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.081e-05/1.603, allocations: 8 kB / 0.7421 GB, free: 95.01 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.002479/1.606, allocations: 1.008 MB / 0.7431 GB, free: 93.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/1.606, allocations: 8.031 kB / 0.7431 GB, free: 93.98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000417/1.606, allocations: 51.55 kB / 0.7432 GB, free: 93.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003518/1.607, allocations: 291.4 kB / 0.7435 GB, free: 93.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/1.607, allocations: 8 kB / 0.7435 GB, free: 93.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.628e-05/1.607, allocations: 16 kB / 0.7435 GB, free: 93.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002769/1.607, allocations: 161.1 kB / 0.7436 GB, free: 93.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003845/1.607, allocations: 287.9 kB / 0.7439 GB, free: 93.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/1.607, allocations: 3.953 kB / 0.7439 GB, free: 93.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.412e-05/1.607, allocations: 4 kB / 0.7439 GB, free: 93.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/1.607, allocations: 7.812 kB / 0.7439 GB, free: 93.1 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001602/1.609, allocations: 2.004 MB / 0.7459 GB, free: 90.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002311/1.609, allocations: 162.2 kB / 0.746 GB, free: 90.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.813e-05/1.609, allocations: 72.84 kB / 0.7461 GB, free: 90.67 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001682/1.61, allocations: 263.7 kB / 0.7464 GB, free: 90.37 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/1.61, allocations: 34.56 kB / 0.7464 GB, free: 90.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 2.205e-06/1.61, allocations: 3.938 kB / 0.7464 GB, free: 90.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=30): time 0.002161/1.612, allocations: 0.8107 MB / 0.7472 GB, free: 89.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.498e-05/1.612, allocations: 66.05 kB / 0.7472 GB, free: 89.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/1.612, allocations: 196.4 kB / 0.7474 GB, free: 89.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/1.612, allocations: 25.7 kB / 0.7475 GB, free: 89.15 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.677e-05/1.612, allocations: 188.3 kB / 0.7476 GB, free: 88.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.835e-05/1.612, allocations: 94.56 kB / 0.7477 GB, free: 88.87 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.213e-05/1.612, allocations: 0 / 0.7477 GB, free: 88.87 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.644e-05/1.612, allocations: 346.5 kB / 0.7481 GB, free: 88.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/1.612, allocations: 72.73 kB / 0.7481 GB, free: 88.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/1.613, allocations: 154.3 kB / 0.7483 GB, free: 88.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000458/1.613, allocations: 138.5 kB / 0.7484 GB, free: 88.13 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/1.613, allocations: 3.781 kB / 0.7484 GB, free: 88.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007515/1.614, allocations: 357.8 kB / 0.7487 GB, free: 87.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/1.614, allocations: 8 kB / 0.7488 GB, free: 87.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/1.614, allocations: 4 kB / 0.7488 GB, free: 87.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003217/1.614, allocations: 82.03 kB / 0.7488 GB, free: 87.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002455/1.614, allocations: 67.91 kB / 0.7489 GB, free: 87.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006174/1.615, allocations: 0.6797 MB / 0.7496 GB, free: 86.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002073/1.615, allocations: 15.91 kB / 0.7496 GB, free: 86.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.66e-05/1.615, allocations: 20 kB / 0.7496 GB, free: 86.88 MB / 410.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: shortPipe.m_flow:VARIABLE(min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flow rate from port_a to port_b (m_flow > 0 is design flow direction)" type: Real ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002022/1.616, allocations: 121.4 kB / 0.7497 GB, free: 86.76 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007154/1.616, allocations: 298 kB / 0.75 GB, free: 86.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.23e-05/1.616, allocations: 23.72 kB / 0.75 GB, free: 86.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000847/1.617, allocations: 380 kB / 0.7504 GB, free: 86.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/1.617, allocations: 0 / 0.7504 GB, free: 86.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/1.617, allocations: 4 kB / 0.7504 GB, free: 86.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000594/1.618, allocations: 0.5726 MB / 0.7509 GB, free: 85.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/1.619, allocations: 0.6764 MB / 0.7516 GB, free: 84.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/1.619, allocations: 0 / 0.7516 GB, free: 84.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000147/1.619, allocations: 46.41 kB / 0.7517 GB, free: 84.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002495/1.619, allocations: 64.81 kB / 0.7517 GB, free: 84.55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.011e-05/1.619, allocations: 8 kB / 0.7517 GB, free: 84.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00051/1.62, allocations: 0.6575 MB / 0.7524 GB, free: 83.86 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/1.62, allocations: 0 / 0.7524 GB, free: 83.86 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007449/1.621, allocations: 0.4895 MB / 0.7528 GB, free: 83.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.382e-05/1.621, allocations: 108.8 kB / 0.7529 GB, free: 83.21 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.525e-05/1.621, allocations: 7.953 kB / 0.753 GB, free: 83.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002351/1.621, allocations: 4 kB / 0.753 GB, free: 83.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.38e-05/1.621, allocations: 20.47 kB / 0.753 GB, free: 83.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-05/1.621, allocations: 22.06 kB / 0.753 GB, free: 83.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001376/1.621, allocations: 160.5 kB / 0.7532 GB, free: 83 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.621, allocations: 0 / 0.7532 GB, free: 83 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007807/1.622, allocations: 143.9 kB / 0.7533 GB, free: 82.86 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001314/1.623, allocations: 1.28 MB / 0.7545 GB, free: 81.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000503/1.624, allocations: 236 kB / 0.7548 GB, free: 81.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/1.624, allocations: 0.625 kB / 0.7548 GB, free: 81.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002058/1.624, allocations: 119.2 kB / 0.7549 GB, free: 81.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007667/1.625, allocations: 122.3 kB / 0.755 GB, free: 81.08 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/1.626, allocations: 0.4926 MB / 0.7555 GB, free: 80.56 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002721/1.626, allocations: 0.7757 MB / 0.7562 GB, free: 79.75 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002877/1.627, allocations: 62 kB / 0.7563 GB, free: 79.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/1.627, allocations: 94.92 kB / 0.7564 GB, free: 79.62 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/1.627, allocations: 0 / 0.7564 GB, free: 79.62 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02742/1.654, allocations: 8.986 MB / 0.7652 GB, free: 70.75 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001746/1.654, allocations: 161.7 kB / 0.7653 GB, free: 70.57 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.177/3.832, allocations: 3.938 kB / 0.7653 GB, free: 70.56 MB / 410.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650_res.mat does not exist to compare? outputFormat=mat