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.001482/0.001482, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.52/1.52, allocations: 225.6 MB / 234.8 MB, free: 3.254 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008746/0.0008748, allocations: 98.11 kB / 286.7 MB, free: 5.238 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.979e-05/3.01e-05, allocations: 0 / 343.8 MB, free: 8.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1305, allocations: 51.47 MB / 395.3 MB, free: 4.715 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5177/0.6483, allocations: 187.2 MB / 0.5688 GB, free: 6.664 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002122/0.6485, allocations: 77.81 kB / 0.5689 GB, free: 6.621 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3027/0.9512, allocations: 22.73 MB / 0.5911 GB, free: 135.9 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.066e-06/0.9513, allocations: 0 / 0.5911 GB, free: 135.9 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.349e-05/0.9513, allocations: 3.938 kB / 0.5911 GB, free: 135.9 MB / 442.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.0005604/0.9518, allocations: 454.3 kB / 0.5915 GB, free: 135.5 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.9519, allocations: 9.75 kB / 0.5915 GB, free: 135.5 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004002/0.9523, allocations: 30.59 kB / 0.5916 GB, free: 135.5 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.9525, allocations: 196.6 kB / 0.5918 GB, free: 135.3 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.547e-06/0.9525, allocations: 2.781 kB / 0.5918 GB, free: 135.3 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.9525, allocations: 3.281 kB / 0.5918 GB, free: 135.3 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001792/0.9527, allocations: 98.34 kB / 0.5919 GB, free: 135.3 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.9529, allocations: 131.8 kB / 0.592 GB, free: 135.2 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.9529, allocations: 0 / 0.592 GB, free: 135.2 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.398e-05/0.953, allocations: 0 / 0.592 GB, free: 135.2 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.953, allocations: 2.844 kB / 0.592 GB, free: 135.2 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005618/0.9535, allocations: 0.5938 MB / 0.5926 GB, free: 134.7 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.9537, allocations: 82.14 kB / 0.5927 GB, free: 134.7 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.986e-05/0.9537, allocations: 28.2 kB / 0.5927 GB, free: 134.7 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004629/0.9542, allocations: 0.8086 MB / 0.5935 GB, free: 133.8 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.9542, allocations: 37.31 kB / 0.5935 GB, free: 133.7 MB / 442.7 MB Notification: Performance of pre-optimization done (n=13): time 1.132e-06/0.9542, allocations: 3.938 kB / 0.5935 GB, free: 133.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=13): time 0.000633/0.9549, allocations: 133.3 kB / 0.5936 GB, free: 133.7 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/0.9549, allocations: 55.41 kB / 0.5937 GB, free: 133.6 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.911e-05/0.955, allocations: 106.5 kB / 0.5938 GB, free: 133.5 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.955, allocations: 25.7 kB / 0.5938 GB, free: 133.5 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.989e-05/0.9551, allocations: 98.95 kB / 0.5939 GB, free: 133.4 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.355e-05/0.9551, allocations: 37.98 kB / 0.5939 GB, free: 133.4 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.532e-06/0.9551, allocations: 0 / 0.5939 GB, free: 133.4 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.693e-05/0.9552, allocations: 324.9 kB / 0.5943 GB, free: 133 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.483e-05/0.9552, allocations: 19.34 kB / 0.5943 GB, free: 133 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.026e-05/0.9553, allocations: 74.69 kB / 0.5943 GB, free: 133 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004238/0.9557, allocations: 73.94 kB / 0.5944 GB, free: 133 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.9557, allocations: 0 / 0.5944 GB, free: 133 MB / 442.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005165/0.9562, allocations: 164.9 kB / 0.5946 GB, free: 132.9 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.9563, allocations: 5.906 kB / 0.5946 GB, free: 132.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.9563, allocations: 3 kB / 0.5946 GB, free: 132.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/0.9563, allocations: 2.906 kB / 0.5946 GB, free: 132.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.9564, allocations: 29.27 kB / 0.5946 GB, free: 132.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.9564, allocations: 2.906 kB / 0.5946 GB, free: 132.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.656e-05/0.9565, allocations: 11.25 kB / 0.5946 GB, free: 132.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.892e-05/0.9565, allocations: 13.91 kB / 0.5946 GB, free: 132.9 MB / 442.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 6.286e-05/0.9566, allocations: 112.2 kB / 0.5947 GB, free: 132.8 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005185/0.9571, allocations: 140 kB / 0.5949 GB, free: 132.8 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.9571, allocations: 7.219 kB / 0.5949 GB, free: 132.8 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005589/0.9577, allocations: 161.4 kB / 0.595 GB, free: 132.7 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.9577, allocations: 3.094 kB / 0.595 GB, free: 132.7 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.9577, allocations: 0 / 0.595 GB, free: 132.7 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.9577, allocations: 11.22 kB / 0.5951 GB, free: 132.7 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006384/0.9584, allocations: 393.6 kB / 0.5954 GB, free: 132.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.9584, allocations: 9.375 kB / 0.5954 GB, free: 132.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.12e-05/0.9585, allocations: 19.36 kB / 0.5955 GB, free: 132.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.9585, allocations: 0 / 0.5955 GB, free: 132.4 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.9585, allocations: 5.031 kB / 0.5955 GB, free: 132.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.9585, allocations: 3.938 kB / 0.5955 GB, free: 132.4 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.9585, allocations: 0 / 0.5955 GB, free: 132.4 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004634/0.959, allocations: 234.3 kB / 0.5957 GB, free: 132.3 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.726e-05/0.9591, allocations: 104 kB / 0.5958 GB, free: 132.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.9591, allocations: 0 / 0.5958 GB, free: 132.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.131e-05/0.9592, allocations: 3.328 kB / 0.5958 GB, free: 132.2 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.114e-05/0.9592, allocations: 13.3 kB / 0.5958 GB, free: 132.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.9592, allocations: 5.719 kB / 0.5958 GB, free: 132.2 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.016e-05/0.9593, allocations: 91.58 kB / 0.5959 GB, free: 132.1 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.9593, allocations: 0 / 0.5959 GB, free: 132.1 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003476/0.9596, allocations: 69.36 kB / 0.596 GB, free: 132.1 MB / 442.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.0008068/0.9605, allocations: 0.817 MB / 0.5968 GB, free: 131.4 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001408/0.9606, allocations: 70.59 kB / 0.5968 GB, free: 131.4 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.9606, allocations: 0 / 0.5968 GB, free: 131.4 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.907e-05/0.9607, allocations: 36.14 kB / 0.5969 GB, free: 131.4 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003876/0.9611, allocations: 40.58 kB / 0.5969 GB, free: 131.4 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004395/0.9615, allocations: 161.3 kB / 0.5971 GB, free: 131.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001496/0.9617, allocations: 0.6947 MB / 0.5977 GB, free: 130.6 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001544/0.9618, allocations: 35.48 kB / 0.5978 GB, free: 130.6 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.298e-05/0.9619, allocations: 33.14 kB / 0.5978 GB, free: 130.5 MB / 442.7 MB Notification: Performance of SimCode: time 2.5e-07/0.9619, allocations: 3.938 kB / 0.5978 GB, free: 130.5 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02303/0.985, allocations: 3.089 MB / 0.6008 GB, free: 130.3 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001767/0.9852, allocations: 137.7 kB / 0.6009 GB, free: 130.1 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.666/2.651, allocations: 0 / 0.6009 GB, free: 130.1 MB / 442.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