Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.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.Glycol47,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47",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.001329/0.001329, allocations: 178.4 kB / 8.698 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 2.123/2.123, allocations: 205.3 MB / 214.4 MB, free: 1.73 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.0009952/0.0009949, allocations: 78.72 kB / 262.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.262e-05/2.264e-05, allocations: 4 kB / 315.6 MB, free: 22.61 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1244, allocations: 47.58 MB / 363.2 MB, free: 6.965 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8157/0.9402, allocations: 188.1 MB / 0.5384 GB, free: 113.7 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000325/0.9406, allocations: 98.83 kB / 0.5385 GB, free: 113.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6989/1.639, allocations: 198.7 MB / 0.7326 GB, free: 96.51 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.284e-06/1.64, allocations: 3.719 kB / 0.7326 GB, free: 96.51 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.082e-05/1.64, allocations: 3.906 kB / 0.7326 GB, free: 96.51 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.002673/1.642, allocations: 1.012 MB / 0.7336 GB, free: 95.85 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/1.642, allocations: 7.719 kB / 0.7336 GB, free: 95.85 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004017/1.643, allocations: 52.73 kB / 0.7336 GB, free: 95.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004113/1.643, allocations: 291.8 kB / 0.7339 GB, free: 95.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/1.643, allocations: 7.531 kB / 0.7339 GB, free: 95.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.339e-05/1.643, allocations: 15.16 kB / 0.7339 GB, free: 95.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003029/1.644, allocations: 156.9 kB / 0.7341 GB, free: 95.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004093/1.644, allocations: 290.7 kB / 0.7343 GB, free: 95.49 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/1.644, allocations: 3.938 kB / 0.7344 GB, free: 95.48 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.478e-05/1.644, allocations: 3.156 kB / 0.7344 GB, free: 95.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/1.644, allocations: 6.906 kB / 0.7344 GB, free: 95.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001806/1.646, allocations: 2.006 MB / 0.7363 GB, free: 93.81 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002544/1.646, allocations: 169.3 kB / 0.7365 GB, free: 93.78 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/1.646, allocations: 71.52 kB / 0.7365 GB, free: 93.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00019/1.646, allocations: 255.5 kB / 0.7368 GB, free: 93.49 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/1.646, allocations: 34.12 kB / 0.7368 GB, free: 93.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 1.704e-06/1.646, allocations: 0 / 0.7368 GB, free: 93.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=30): time 0.002258/1.649, allocations: 0.8191 MB / 0.7376 GB, free: 93.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/1.649, allocations: 55.31 kB / 0.7377 GB, free: 93.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001882/1.649, allocations: 213.4 kB / 0.7379 GB, free: 92.94 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/1.649, allocations: 25.7 kB / 0.7379 GB, free: 92.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.545e-05/1.649, allocations: 181.7 kB / 0.7381 GB, free: 92.78 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.866e-05/1.649, allocations: 104 kB / 0.7382 GB, free: 92.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.313e-05/1.649, allocations: 0 / 0.7382 GB, free: 92.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.407e-05/1.649, allocations: 340.2 kB / 0.7385 GB, free: 92.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/1.649, allocations: 72.41 kB / 0.7386 GB, free: 92.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/1.65, allocations: 154.1 kB / 0.7387 GB, free: 92.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004662/1.65, allocations: 140 kB / 0.7389 GB, free: 92.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.65, allocations: 3.781 kB / 0.7389 GB, free: 92.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008203/1.651, allocations: 352.5 kB / 0.7392 GB, free: 92.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/1.651, allocations: 7.562 kB / 0.7392 GB, free: 92.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/1.651, allocations: 0 / 0.7392 GB, free: 92.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003033/1.651, allocations: 86.44 kB / 0.7393 GB, free: 92.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002555/1.652, allocations: 71.22 kB / 0.7394 GB, free: 92.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006196/1.652, allocations: 0.6808 MB / 0.74 GB, free: 91.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001725/1.652, allocations: 7.906 kB / 0.74 GB, free: 91.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.672e-05/1.652, allocations: 18.22 kB / 0.74 GB, free: 91.69 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.0001849/1.653, allocations: 124 kB / 0.7402 GB, free: 91.57 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007016/1.653, allocations: 295.2 kB / 0.7404 GB, free: 91.51 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.746e-05/1.653, allocations: 26 kB / 0.7405 GB, free: 91.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008894/1.654, allocations: 379.4 kB / 0.7408 GB, free: 91.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/1.654, allocations: 7.547 kB / 0.7408 GB, free: 91.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/1.654, allocations: 3.656 kB / 0.7408 GB, free: 91.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007088/1.655, allocations: 0.564 MB / 0.7414 GB, free: 90.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/1.656, allocations: 0.6815 MB / 0.7421 GB, free: 90.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/1.656, allocations: 0 / 0.7421 GB, free: 90.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001467/1.656, allocations: 43.12 kB / 0.7421 GB, free: 90.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002335/1.657, allocations: 77.62 kB / 0.7422 GB, free: 90.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/1.657, allocations: 3.812 kB / 0.7422 GB, free: 90.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005324/1.657, allocations: 0.6557 MB / 0.7428 GB, free: 90.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.657, allocations: 3.844 kB / 0.7428 GB, free: 90.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008017/1.658, allocations: 493.3 kB / 0.7433 GB, free: 89.73 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.877e-05/1.658, allocations: 104.5 kB / 0.7434 GB, free: 89.62 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.775e-05/1.658, allocations: 3.953 kB / 0.7434 GB, free: 89.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002355/1.658, allocations: 15.19 kB / 0.7434 GB, free: 89.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.954e-05/1.658, allocations: 19.34 kB / 0.7434 GB, free: 89.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.021e-05/1.658, allocations: 15.55 kB / 0.7434 GB, free: 89.61 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001493/1.659, allocations: 170.3 kB / 0.7436 GB, free: 89.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.51e-07/1.659, allocations: 3.938 kB / 0.7436 GB, free: 89.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000913/1.66, allocations: 144.3 kB / 0.7437 GB, free: 89.47 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.001515/1.661, allocations: 1.289 MB / 0.745 GB, free: 88.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005871/1.662, allocations: 237.2 kB / 0.7452 GB, free: 88.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/1.662, allocations: 0 / 0.7452 GB, free: 88.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002327/1.662, allocations: 108.8 kB / 0.7453 GB, free: 88.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007947/1.663, allocations: 125.1 kB / 0.7454 GB, free: 88.33 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/1.664, allocations: 0.4977 MB / 0.7459 GB, free: 88.06 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/1.664, allocations: 0.7692 MB / 0.7467 GB, free: 87.36 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002801/1.664, allocations: 54.05 kB / 0.7467 GB, free: 87.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/1.665, allocations: 99.48 kB / 0.7468 GB, free: 87.29 MB / 410.7 MB Notification: Performance of SimCode: time 2.81e-07/1.665, allocations: 0 / 0.7468 GB, free: 87.29 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03251/1.697, allocations: 8.981 MB / 0.7556 GB, free: 80.58 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002203/1.697, allocations: 169.4 kB / 0.7558 GB, free: 80.38 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.246/3.943, allocations: 5.875 kB / 0.7558 GB, free: 80.38 MB / 410.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47_res.mat does not exist to compare? outputFormat=mat