Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.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.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Incompressible_Examples_TestGlycol",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.00135/0.00135, allocations: 171.6 kB / 14.1 MB, free: 1.223 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.451/1.451, allocations: 205.2 MB / 219.8 MB, free: 14.26 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.0008186/0.0008183, allocations: 86.73 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.413e-05/2.415e-05, allocations: 0 / 322.5 MB, free: 17.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09977/0.09981, allocations: 47.58 MB / 370.1 MB, free: 1.633 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6083/0.7081, allocations: 190.6 MB / 0.5475 GB, free: 144.5 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/0.7084, allocations: 76.05 kB / 0.5476 GB, free: 144.4 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04394/0.7524, allocations: 22.94 MB / 0.57 GB, free: 123.4 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.7524, allocations: 3.938 kB / 0.57 GB, free: 123.4 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.7524, allocations: 0 / 0.57 GB, free: 123.4 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003711/0.7528, allocations: 438.1 kB / 0.5704 GB, free: 122.9 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.7529, allocations: 12.03 kB / 0.5705 GB, free: 122.9 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.028e-05/0.7529, allocations: 46.48 kB / 0.5705 GB, free: 122.9 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003272/0.7532, allocations: 27.89 kB / 0.5705 GB, free: 122.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.7534, allocations: 199.2 kB / 0.5707 GB, free: 122.6 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.7534, allocations: 8 kB / 0.5707 GB, free: 122.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.57e-05/0.7534, allocations: 8 kB / 0.5707 GB, free: 122.6 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.7536, allocations: 137.9 kB / 0.5709 GB, free: 122.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.7536, allocations: 0 / 0.5709 GB, free: 122.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.7537, allocations: 4 kB / 0.5709 GB, free: 122.4 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.7537, allocations: 4 kB / 0.5709 GB, free: 122.4 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.7538, allocations: 107.8 kB / 0.571 GB, free: 122.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004598/0.7543, allocations: 0.6226 MB / 0.5716 GB, free: 121.6 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.7544, allocations: 90.45 kB / 0.5717 GB, free: 121.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.914e-05/0.7544, allocations: 32.86 kB / 0.5717 GB, free: 121.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003751/0.7548, allocations: 0.8115 MB / 0.5725 GB, free: 120.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.698e-05/0.7549, allocations: 34.55 kB / 0.5725 GB, free: 120.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.223e-06/0.7549, allocations: 4 kB / 0.5725 GB, free: 120.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.000191/0.7551, allocations: 90.69 kB / 0.5726 GB, free: 120.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.17e-05/0.7551, allocations: 63.33 kB / 0.5727 GB, free: 120.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.062e-05/0.7552, allocations: 109.1 kB / 0.5728 GB, free: 120.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.7552, allocations: 25.7 kB / 0.5728 GB, free: 120.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.323e-05/0.7552, allocations: 103.9 kB / 0.5729 GB, free: 120 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.149e-05/0.7552, allocations: 43.3 kB / 0.5729 GB, free: 120 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.71e-06/0.7552, allocations: 4.375 kB / 0.5729 GB, free: 120 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.426e-05/0.7553, allocations: 322.8 kB / 0.5733 GB, free: 119.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.713e-05/0.7553, allocations: 23.98 kB / 0.5733 GB, free: 119.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.63e-05/0.7554, allocations: 61.16 kB / 0.5733 GB, free: 119.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.236e-05/0.7555, allocations: 56.28 kB / 0.5734 GB, free: 119.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.7555, allocations: 0 / 0.5734 GB, free: 119.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001526/0.7556, allocations: 133.4 kB / 0.5735 GB, free: 119.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.7556, allocations: 4 kB / 0.5735 GB, free: 119.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.7556, allocations: 0 / 0.5735 GB, free: 119.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.7557, allocations: 11.92 kB / 0.5735 GB, free: 119.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.964e-05/0.7558, allocations: 27.98 kB / 0.5736 GB, free: 119.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.7558, allocations: 4 kB / 0.5736 GB, free: 119.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.573e-05/0.7558, allocations: 20 kB / 0.5736 GB, free: 119.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.7559, allocations: 11.98 kB / 0.5736 GB, free: 119.3 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.409e-05/0.7559, allocations: 108.9 kB / 0.5737 GB, free: 119.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.842e-05/0.7559, allocations: 11.86 kB / 0.5737 GB, free: 119.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002358/0.7562, allocations: 138.5 kB / 0.5738 GB, free: 119 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.7562, allocations: 11.98 kB / 0.5739 GB, free: 119 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.7562, allocations: 0 / 0.5739 GB, free: 119 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.7562, allocations: 0 / 0.5739 GB, free: 119 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003091/0.7565, allocations: 394.3 kB / 0.5742 GB, free: 118.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.7565, allocations: 0 / 0.5742 GB, free: 118.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.749e-05/0.7566, allocations: 23.92 kB / 0.5742 GB, free: 118.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.7566, allocations: 0 / 0.5742 GB, free: 118.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.7566, allocations: 15.92 kB / 0.5743 GB, free: 118.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.7566, allocations: 0 / 0.5743 GB, free: 118.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.7567, allocations: 0 / 0.5743 GB, free: 118.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001277/0.7568, allocations: 199.4 kB / 0.5745 GB, free: 118.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.584e-05/0.7568, allocations: 104.9 kB / 0.5746 GB, free: 118.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.7569, allocations: 4 kB / 0.5746 GB, free: 118.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.621e-05/0.757, allocations: 8 kB / 0.5746 GB, free: 118.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.649e-05/0.757, allocations: 7.984 kB / 0.5746 GB, free: 118.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.757, allocations: 4 kB / 0.5746 GB, free: 118.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.747e-05/0.757, allocations: 95.27 kB / 0.5747 GB, free: 118.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.757, allocations: 4.281 kB / 0.5747 GB, free: 118.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002767/0.7573, allocations: 59.94 kB / 0.5747 GB, free: 118 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003873/0.7577, allocations: 0.7946 MB / 0.5755 GB, free: 117.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000135/0.7579, allocations: 91.98 kB / 0.5756 GB, free: 117.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.7579, allocations: 0 / 0.5756 GB, free: 117.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.825e-05/0.7579, allocations: 35.94 kB / 0.5756 GB, free: 117.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.7582, allocations: 44.27 kB / 0.5757 GB, free: 117 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003594/0.7586, allocations: 162.9 kB / 0.5758 GB, free: 116.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001125/0.7587, allocations: 0.6969 MB / 0.5765 GB, free: 116.1 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001329/0.7588, allocations: 36.73 kB / 0.5765 GB, free: 116.1 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.302e-05/0.7589, allocations: 31.42 kB / 0.5766 GB, free: 116 MB / 410.7 MB Notification: Performance of SimCode: time 2.71e-07/0.7589, allocations: 4 kB / 0.5766 GB, free: 116 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01355/0.7725, allocations: 3.393 MB / 0.5799 GB, free: 112.6 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001364/0.7726, allocations: 155.4 kB / 0.58 GB, free: 112.4 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.48/2.253, allocations: 3.938 kB / 0.58 GB, free: 112.4 MB / 410.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Incompressible_Examples_TestGlycol_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Incompressible_Examples_TestGlycol.fmu > Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat does not exist to compare? outputFormat=mat