Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001723/0.001723, allocations: 181.7 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.109/2.109, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.001132/0.001132, allocations: 94.62 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.616e-05/3.627e-05, allocations: 4 kB / 321.6 MB, free: 17.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0995/0.09957, allocations: 47.57 MB / 369.2 MB, free: 2.117 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8991/0.9987, allocations: 188.6 MB / 0.5447 GB, free: 110.2 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003672/0.9991, allocations: 96.59 kB / 0.5448 GB, free: 110.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.009/2.009, allocations: 200 MB / 0.7401 GB, free: 106.2 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.703e-06/2.009, allocations: 7.625 kB / 0.7401 GB, free: 106.2 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.358e-05/2.009, allocations: 3.375 kB / 0.7401 GB, free: 106.2 MB / 426.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.002722/2.011, allocations: 1.012 MB / 0.7411 GB, free: 105.5 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/2.011, allocations: 9.469 kB / 0.7411 GB, free: 105.5 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.392e-05/2.012, allocations: 63.44 kB / 0.7412 GB, free: 105.5 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005208/2.012, allocations: 48.05 kB / 0.7412 GB, free: 105.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000522/2.013, allocations: 294.3 kB / 0.7415 GB, free: 105.3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/2.013, allocations: 20.66 kB / 0.7415 GB, free: 105.3 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.948e-05/2.013, allocations: 29.25 kB / 0.7415 GB, free: 105.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006872/2.013, allocations: 320.9 kB / 0.7418 GB, free: 105.1 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.438e-05/2.013, allocations: 2.875 kB / 0.7418 GB, free: 105.1 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.573e-05/2.014, allocations: 11.75 kB / 0.7418 GB, free: 105.1 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/2.014, allocations: 11.83 kB / 0.7419 GB, free: 105.1 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004435/2.014, allocations: 185.2 kB / 0.742 GB, free: 105.1 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002589/2.017, allocations: 2.066 MB / 0.7441 GB, free: 103.4 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004296/2.017, allocations: 177.7 kB / 0.7442 GB, free: 103.4 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001838/2.017, allocations: 78.83 kB / 0.7443 GB, free: 103.4 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002256/2.018, allocations: 259.5 kB / 0.7445 GB, free: 103.1 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/2.018, allocations: 36.88 kB / 0.7446 GB, free: 103.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=24): time 3.396e-06/2.018, allocations: 3.828 kB / 0.7446 GB, free: 103.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=30): time 0.003629/2.021, allocations: 0.9055 MB / 0.7455 GB, free: 102.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/2.021, allocations: 57.12 kB / 0.7455 GB, free: 102.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003411/2.022, allocations: 233.3 kB / 0.7457 GB, free: 102.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.336e-05/2.022, allocations: 29.33 kB / 0.7458 GB, free: 102.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/2.022, allocations: 237.6 kB / 0.746 GB, free: 102.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.817e-05/2.022, allocations: 106 kB / 0.7461 GB, free: 102.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.443e-05/2.022, allocations: 10.22 kB / 0.7461 GB, free: 102.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.275e-05/2.022, allocations: 329 kB / 0.7464 GB, free: 101.9 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002178/2.022, allocations: 80.78 kB / 0.7465 GB, free: 101.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002628/2.023, allocations: 168.8 kB / 0.7467 GB, free: 101.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002787/2.023, allocations: 107.5 kB / 0.7468 GB, free: 101.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/2.023, allocations: 0 / 0.7468 GB, free: 101.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008558/2.024, allocations: 362.5 kB / 0.7471 GB, free: 101.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/2.024, allocations: 6.688 kB / 0.7471 GB, free: 101.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/2.024, allocations: 3.156 kB / 0.7471 GB, free: 101.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006753/2.025, allocations: 92.31 kB / 0.7472 GB, free: 101.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004491/2.025, allocations: 70 kB / 0.7473 GB, free: 101.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006281/2.026, allocations: 0.6476 MB / 0.7479 GB, free: 101.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003898/2.026, allocations: 18.91 kB / 0.7479 GB, free: 101.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.463e-05/2.026, allocations: 22.62 kB / 0.7479 GB, free: 101.2 MB / 426.7 MB 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 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0001438/2.026, allocations: 131.6 kB / 0.7481 GB, free: 101.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.662e-05/2.026, allocations: 27.16 kB / 0.7481 GB, free: 101.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001156/2.028, allocations: 391.5 kB / 0.7485 GB, free: 101 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/2.028, allocations: 3.969 kB / 0.7485 GB, free: 101 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/2.028, allocations: 0 / 0.7485 GB, free: 101 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007946/2.028, allocations: 0.5715 MB / 0.749 GB, free: 100.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001514/2.03, allocations: 0.7269 MB / 0.7497 GB, free: 100.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/2.03, allocations: 4.781 kB / 0.7497 GB, free: 100.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002699/2.03, allocations: 36.77 kB / 0.7498 GB, free: 100.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007336/2.031, allocations: 108 kB / 0.7499 GB, free: 100.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.1e-05/2.031, allocations: 11.73 kB / 0.7499 GB, free: 100.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005898/2.032, allocations: 0.6288 MB / 0.7505 GB, free: 99.66 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/2.032, allocations: 3.156 kB / 0.7505 GB, free: 99.66 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/2.033, allocations: 0.5126 MB / 0.751 GB, free: 99.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001655/2.033, allocations: 108.3 kB / 0.7511 GB, free: 99.32 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.335e-05/2.033, allocations: 3.188 kB / 0.7511 GB, free: 99.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004377/2.033, allocations: 20.41 kB / 0.7511 GB, free: 99.32 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.588e-05/2.034, allocations: 13.19 kB / 0.7512 GB, free: 99.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.978e-05/2.034, allocations: 19.77 kB / 0.7512 GB, free: 99.32 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002824/2.034, allocations: 192.8 kB / 0.7514 GB, free: 99.24 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.41e-07/2.034, allocations: 3.688 kB / 0.7514 GB, free: 99.24 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009445/2.035, allocations: 157.3 kB / 0.7515 GB, free: 99.22 MB / 426.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.001919/2.037, allocations: 1.304 MB / 0.7528 GB, free: 98.32 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000801/2.038, allocations: 234.2 kB / 0.753 GB, free: 98.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/2.038, allocations: 3.5 kB / 0.753 GB, free: 98.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003928/2.038, allocations: 127.7 kB / 0.7531 GB, free: 98.29 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001546/2.04, allocations: 151.8 kB / 0.7533 GB, free: 98.28 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003021/2.043, allocations: 0.5507 MB / 0.7538 GB, free: 98.02 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004628/2.043, allocations: 0.7766 MB / 0.7546 GB, free: 97.32 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004408/2.044, allocations: 101.6 kB / 0.7547 GB, free: 97.32 MB / 426.7 MB Notification: Performance of SimCode: time 1.753e-06/2.044, allocations: 0 / 0.7547 GB, free: 97.32 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.847/4.891, allocations: 8.54 MB / 0.763 GB, free: 95.93 MB / 426.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47.fmu > Modelica_3.2.3_cpp_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_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47_res.mat does not exist to compare? outputFormat=mat