Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_trunk_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_trunk_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001465/0.001465, allocations: 201.8 kB / 17.08 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, allocations: 227.2 MB / 245 MB, free: 7.609 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009173/0.0009173, allocations: 95.09 kB / 297.3 MB, free: 6.188 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002537/0.0002537, allocations: 4 kB / 358 MB, free: 9.438 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2554, allocations: 51.47 MB / 409.5 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4308/0.6862, allocations: 188 MB / 0.5835 GB, free: 10.38 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002357/0.6865, allocations: 76.02 kB / 0.5835 GB, free: 10.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05269/0.7392, allocations: 22.96 MB / 0.6059 GB, free: 6.539 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.7393, allocations: 0 / 0.6059 GB, free: 6.539 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.688e-05/0.7393, allocations: 4 kB / 0.606 GB, free: 6.535 MB / 394.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.0006318/0.74, allocations: 454 kB / 0.6064 GB, free: 6.051 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.74, allocations: 16.03 kB / 0.6064 GB, free: 6.035 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.32e-05/0.7401, allocations: 46.17 kB / 0.6064 GB, free: 5.988 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003651/0.7404, allocations: 27.89 kB / 0.6065 GB, free: 5.961 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002003/0.7407, allocations: 194.6 kB / 0.6067 GB, free: 5.738 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.7407, allocations: 3.5 kB / 0.6067 GB, free: 5.738 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.737e-05/0.7407, allocations: 15.38 kB / 0.6067 GB, free: 5.727 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002432/0.7409, allocations: 135.7 kB / 0.6068 GB, free: 5.602 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.741, allocations: 8 kB / 0.6068 GB, free: 5.594 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.741, allocations: 3.688 kB / 0.6068 GB, free: 5.594 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.884e-06/0.741, allocations: 7.953 kB / 0.6068 GB, free: 5.586 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001527/0.7412, allocations: 100.7 kB / 0.6069 GB, free: 5.512 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000671/0.7418, allocations: 0.6233 MB / 0.6075 GB, free: 4.883 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.742, allocations: 91.88 kB / 0.6076 GB, free: 4.805 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005722/0.7426, allocations: 0.7995 MB / 0.6084 GB, free: 3.824 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.7426, allocations: 37.81 kB / 0.6084 GB, free: 3.781 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.7426, allocations: 0 / 0.6084 GB, free: 3.781 MB / 394.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002744/0.7429, allocations: 127.6 kB / 0.6086 GB, free: 3.672 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.7429, allocations: 58.72 kB / 0.6086 GB, free: 3.605 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.306e-05/0.743, allocations: 112.5 kB / 0.6087 GB, free: 3.488 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.7431, allocations: 29.39 kB / 0.6087 GB, free: 3.457 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.537e-05/0.7431, allocations: 103.7 kB / 0.6088 GB, free: 3.352 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.11e-05/0.7432, allocations: 46.61 kB / 0.6089 GB, free: 3.312 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.593e-06/0.7432, allocations: 3.688 kB / 0.6089 GB, free: 3.312 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.7433, allocations: 322.6 kB / 0.6092 GB, free: 2.992 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.031e-05/0.7433, allocations: 23.05 kB / 0.6092 GB, free: 2.977 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.615e-05/0.7434, allocations: 67.52 kB / 0.6093 GB, free: 2.902 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.02e-05/0.7435, allocations: 34.8 kB / 0.6093 GB, free: 2.879 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.7435, allocations: 0 / 0.6093 GB, free: 2.879 MB / 394.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001988/0.7437, allocations: 146.9 kB / 0.6095 GB, free: 2.754 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.7437, allocations: 4 kB / 0.6095 GB, free: 2.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.7437, allocations: 4 kB / 0.6095 GB, free: 2.746 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.7437, allocations: 3.938 kB / 0.6095 GB, free: 2.742 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.7439, allocations: 31.98 kB / 0.6095 GB, free: 2.711 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.7439, allocations: 0 / 0.6095 GB, free: 2.711 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.199e-05/0.7439, allocations: 15.22 kB / 0.6095 GB, free: 2.699 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.935e-05/0.744, allocations: 8 kB / 0.6095 GB, free: 2.691 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 8.929e-05/0.7441, allocations: 121.1 kB / 0.6096 GB, free: 2.57 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.405e-05/0.7441, allocations: 19.91 kB / 0.6097 GB, free: 2.551 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002768/0.7444, allocations: 132.2 kB / 0.6098 GB, free: 2.445 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.7444, allocations: 3.938 kB / 0.6098 GB, free: 2.441 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.7444, allocations: 0 / 0.6098 GB, free: 2.441 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.862e-06/0.7444, allocations: 3.984 kB / 0.6098 GB, free: 2.438 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004243/0.7448, allocations: 417.3 kB / 0.6102 GB, free: 2.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.7449, allocations: 0 / 0.6102 GB, free: 2.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.732e-05/0.7449, allocations: 19.94 kB / 0.6102 GB, free: 2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.745, allocations: 3.984 kB / 0.6102 GB, free: 1.996 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.745, allocations: 4 kB / 0.6102 GB, free: 1.992 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.745, allocations: 0 / 0.6102 GB, free: 1.992 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.745, allocations: 0 / 0.6102 GB, free: 1.992 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002056/0.7452, allocations: 190.8 kB / 0.6104 GB, free: 1.812 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.162e-05/0.7453, allocations: 108.3 kB / 0.6105 GB, free: 1.691 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.7453, allocations: 3.625 kB / 0.6105 GB, free: 1.691 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.629e-05/0.7454, allocations: 8 kB / 0.6105 GB, free: 1.684 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.076e-05/0.7454, allocations: 7.984 kB / 0.6105 GB, free: 1.676 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.7455, allocations: 7.188 kB / 0.6105 GB, free: 1.672 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.572e-05/0.7455, allocations: 94.64 kB / 0.6106 GB, free: 1.582 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.7455, allocations: 0 / 0.6106 GB, free: 1.582 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003831/0.7459, allocations: 75.36 kB / 0.6107 GB, free: 1.516 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.0006784/0.7466, allocations: 0.8017 MB / 0.6115 GB, free: 0.7109 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001681/0.7468, allocations: 77.95 kB / 0.6115 GB, free: 0.6484 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.7468, allocations: 7.938 kB / 0.6116 GB, free: 0.6406 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.432e-05/0.7468, allocations: 38.55 kB / 0.6116 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000324/0.7472, allocations: 40.31 kB / 0.6116 GB, free: 0.582 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.7486, allocations: 1.424 MB / 0.613 GB, free: 15.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/0.7489, allocations: 0.7008 MB / 0.6137 GB, free: 14.41 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001629/0.749, allocations: 29.84 kB / 0.6137 GB, free: 14.38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.03e-05/0.7491, allocations: 34.05 kB / 0.6138 GB, free: 14.36 MB / 410.7 MB Notification: Performance of SimCode: time 3.4e-07/0.7491, allocations: 0 / 0.6138 GB, free: 14.36 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01767/0.7668, allocations: 3.438 MB / 0.6171 GB, free: 11.07 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002223/0.7671, allocations: 177 kB / 0.6173 GB, free: 10.84 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.579/2.346, allocations: 0 / 0.6173 GB, free: 10.84 MB / 410.7 MB (rm -f Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Incompressible_Examples_TestGlycol_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Incompressible_Examples_TestGlycol.fmu > Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat does not exist to compare? outputFormat=mat