Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 180.6 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 223.2 MB / 240.3 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000983/0.0009829, allocations: 96.06 kB / 291.5 MB, free: 10.9 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003687/0.0003689, allocations: 11.98 kB / 351.2 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.2668, allocations: 50.4 MB / 401.6 MB, free: 32.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4534/0.7203, allocations: 187.2 MB / 0.5749 GB, free: 21.94 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/0.7206, allocations: 80.64 kB / 0.575 GB, free: 21.9 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04881/0.7694, allocations: 22.6 MB / 0.5971 GB, free: 2.379 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.514e-06/0.7695, allocations: 0 / 0.5971 GB, free: 2.379 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.638e-05/0.7695, allocations: 4 kB / 0.5971 GB, free: 2.375 MB / 378.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.0005729/0.7701, allocations: 445.9 kB / 0.5975 GB, free: 1.898 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.7701, allocations: 8.031 kB / 0.5975 GB, free: 1.891 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.969e-05/0.7702, allocations: 45.75 kB / 0.5976 GB, free: 1.844 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003816/0.7706, allocations: 31.88 kB / 0.5976 GB, free: 1.812 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/0.7708, allocations: 189.9 kB / 0.5978 GB, free: 1.594 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.7708, allocations: 15.5 kB / 0.5978 GB, free: 1.582 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.7708, allocations: 15.52 kB / 0.5978 GB, free: 1.57 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002165/0.771, allocations: 133 kB / 0.5979 GB, free: 1.449 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.7711, allocations: 0 / 0.5979 GB, free: 1.449 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/0.7711, allocations: 7.812 kB / 0.5979 GB, free: 1.445 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.7711, allocations: 0 / 0.5979 GB, free: 1.445 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001466/0.7712, allocations: 113.2 kB / 0.598 GB, free: 1.359 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005761/0.7718, allocations: 0.617 MB / 0.5986 GB, free: 0.7383 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.772, allocations: 85.03 kB / 0.5987 GB, free: 0.6641 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005313/0.7725, allocations: 0.8031 MB / 0.5995 GB, free: 15.68 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.7725, allocations: 42.11 kB / 0.5996 GB, free: 15.63 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 1.884e-06/0.7725, allocations: 0 / 0.5996 GB, free: 15.63 MB / 394.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002993/0.7729, allocations: 128.5 kB / 0.5997 GB, free: 15.52 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.7729, allocations: 55.09 kB / 0.5997 GB, free: 15.46 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.773, allocations: 108.9 kB / 0.5998 GB, free: 15.35 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.773, allocations: 29.45 kB / 0.5999 GB, free: 15.32 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.4e-05/0.7731, allocations: 95.94 kB / 0.6 GB, free: 15.22 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.515e-05/0.7732, allocations: 50.67 kB / 0.6 GB, free: 15.18 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.232e-06/0.7732, allocations: 7.812 kB / 0.6 GB, free: 15.17 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.7733, allocations: 314.8 kB / 0.6003 GB, free: 14.86 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.189e-05/0.7734, allocations: 27.48 kB / 0.6003 GB, free: 14.84 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.013e-05/0.7735, allocations: 63.45 kB / 0.6004 GB, free: 14.77 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.825e-05/0.7735, allocations: 46.11 kB / 0.6004 GB, free: 14.74 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.7735, allocations: 0 / 0.6004 GB, free: 14.74 MB / 394.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000219/0.7738, allocations: 135.5 kB / 0.6006 GB, free: 14.62 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.7738, allocations: 8 kB / 0.6006 GB, free: 14.62 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.7738, allocations: 0 / 0.6006 GB, free: 14.62 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.7738, allocations: 4 kB / 0.6006 GB, free: 14.61 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.7739, allocations: 36.12 kB / 0.6006 GB, free: 14.58 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.774, allocations: 12.27 kB / 0.6006 GB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.711e-05/0.774, allocations: 11.66 kB / 0.6006 GB, free: 14.56 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.846e-05/0.7741, allocations: 11.94 kB / 0.6006 GB, free: 14.55 MB / 394.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 () * Number of clocked 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 9.854e-05/0.7742, allocations: 117.3 kB / 0.6008 GB, free: 14.43 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.46e-05/0.7742, allocations: 15.84 kB / 0.6008 GB, free: 14.41 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002908/0.7745, allocations: 140.1 kB / 0.6009 GB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.7745, allocations: 3.984 kB / 0.6009 GB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.7745, allocations: 4 kB / 0.6009 GB, free: 14.29 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.7745, allocations: 3.953 kB / 0.6009 GB, free: 14.29 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004482/0.775, allocations: 386.4 kB / 0.6013 GB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.775, allocations: 0 / 0.6013 GB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.454e-05/0.7751, allocations: 28.61 kB / 0.6013 GB, free: 13.87 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.7751, allocations: 0 / 0.6013 GB, free: 13.87 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.7751, allocations: 5.875 kB / 0.6013 GB, free: 13.86 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.7751, allocations: 3.953 kB / 0.6013 GB, free: 13.86 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.7751, allocations: 3.984 kB / 0.6013 GB, free: 13.86 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002174/0.7754, allocations: 200.6 kB / 0.6015 GB, free: 13.67 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.826e-05/0.7755, allocations: 101.8 kB / 0.6016 GB, free: 13.55 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.7755, allocations: 5.438 kB / 0.6016 GB, free: 13.55 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.938e-05/0.7756, allocations: 2.188 kB / 0.6016 GB, free: 13.55 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.982e-05/0.7756, allocations: 20.5 kB / 0.6016 GB, free: 13.53 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.7756, allocations: 5 kB / 0.6016 GB, free: 13.53 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.289e-05/0.7757, allocations: 91.2 kB / 0.6017 GB, free: 13.44 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.7757, allocations: 0 / 0.6017 GB, free: 13.44 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003522/0.7761, allocations: 61.88 kB / 0.6018 GB, free: 13.39 MB / 394.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 () * Number of clocked 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.0006955/0.7768, allocations: 0.7977 MB / 0.6026 GB, free: 12.59 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000174/0.777, allocations: 74.59 kB / 0.6026 GB, free: 12.53 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.777, allocations: 320 / 0.6026 GB, free: 12.53 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.986e-05/0.777, allocations: 43.11 kB / 0.6027 GB, free: 12.49 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.7774, allocations: 47.12 kB / 0.6027 GB, free: 12.45 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.7786, allocations: 1.416 MB / 0.6041 GB, free: 11.03 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.7789, allocations: 0.697 MB / 0.6048 GB, free: 10.3 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001571/0.7791, allocations: 33.02 kB / 0.6048 GB, free: 10.27 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.025e-05/0.7792, allocations: 33.98 kB / 0.6049 GB, free: 10.25 MB / 394.7 MB Notification: Performance of SimCode: time 7.12e-07/0.7792, allocations: 3.938 kB / 0.6049 GB, free: 10.24 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01501/0.7942, allocations: 3.323 MB / 0.6081 GB, free: 7.062 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001865/0.7944, allocations: 179.4 kB / 0.6083 GB, free: 6.82 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.618/2.412, allocations: 0 / 0.6083 GB, free: 6.82 MB / 394.7 MB (rm -f Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Incompressible_Examples_TestGlycol_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Incompressible_Examples_TestGlycol.fmu > Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat does not exist to compare? outputFormat=mat