Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.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.Examples.IdealGasH2O,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001392/0.001392, allocations: 202.1 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.489/1.489, allocations: 225.6 MB / 234.8 MB, free: 3.289 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009358/0.0009359, allocations: 99.89 kB / 286.7 MB, free: 5.262 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.296e-05/2.299e-05, allocations: 0 / 343.8 MB, free: 8.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1329, allocations: 51.47 MB / 395.2 MB, free: 4.703 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.342/1.475, allocations: 443.4 MB / 0.819 GB, free: 77.88 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/1.475, allocations: 65.69 kB / 0.819 GB, free: 77.84 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05137/1.527, allocations: 24.97 MB / 0.8434 GB, free: 57.49 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.923e-06/1.527, allocations: 0 / 0.8434 GB, free: 57.49 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.735e-06/1.527, allocations: 0 / 0.8434 GB, free: 57.49 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008958/1.528, allocations: 444.5 kB / 0.8438 GB, free: 57.02 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.558e-05/1.528, allocations: 12.03 kB / 0.8438 GB, free: 57.01 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00554/1.533, allocations: 464.4 kB / 0.8443 GB, free: 56.59 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.554e-05/1.533, allocations: 163 kB / 0.8444 GB, free: 56.39 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/1.533, allocations: 7.984 kB / 0.8444 GB, free: 56.39 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.561e-05/1.533, allocations: 7.75 kB / 0.8445 GB, free: 56.38 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004035/1.534, allocations: 234 kB / 0.8447 GB, free: 56.23 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/1.534, allocations: 111.9 kB / 0.8448 GB, free: 56.14 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/1.534, allocations: 1.125 kB / 0.8448 GB, free: 56.14 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.033e-05/1.534, allocations: 0 / 0.8448 GB, free: 56.14 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/1.534, allocations: 4 kB / 0.8448 GB, free: 56.13 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008698/1.535, allocations: 386.8 kB / 0.8452 GB, free: 55.77 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000711/1.536, allocations: 180 kB / 0.8453 GB, free: 55.63 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.268e-05/1.536, allocations: 57.92 kB / 0.8454 GB, free: 55.59 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.597e-05/1.536, allocations: 11.98 kB / 0.8454 GB, free: 55.58 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.604e-05/1.536, allocations: 30.56 kB / 0.8454 GB, free: 55.54 MB / 442.7 MB Notification: Performance of pre-optimization done (n=13): time 1.402e-06/1.536, allocations: 0 / 0.8454 GB, free: 55.54 MB / 442.7 MB Notification: Performance of matching and sorting (n=17): time 0.001028/1.537, allocations: 292 kB / 0.8457 GB, free: 55.31 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.635e-05/1.537, allocations: 55.41 kB / 0.8458 GB, free: 55.25 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.325e-05/1.537, allocations: 96.31 kB / 0.8458 GB, free: 55.15 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/1.537, allocations: 27.58 kB / 0.8459 GB, free: 55.12 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.651e-05/1.537, allocations: 95.88 kB / 0.846 GB, free: 55.02 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.873e-05/1.537, allocations: 54.58 kB / 0.846 GB, free: 54.97 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.927e-05/1.537, allocations: 0 / 0.846 GB, free: 54.97 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.356e-05/1.537, allocations: 326.2 kB / 0.8463 GB, free: 54.65 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.086e-05/1.537, allocations: 54 kB / 0.8464 GB, free: 54.61 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/1.537, allocations: 95.97 kB / 0.8465 GB, free: 54.53 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.733e-05/1.537, allocations: 64.39 kB / 0.8465 GB, free: 54.49 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/1.537, allocations: 0 / 0.8465 GB, free: 54.49 MB / 442.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002658/1.538, allocations: 197 kB / 0.8467 GB, free: 54.34 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/1.538, allocations: 4 kB / 0.8467 GB, free: 54.33 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/1.538, allocations: 4.125 kB / 0.8467 GB, free: 54.33 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/1.538, allocations: 8 kB / 0.8467 GB, free: 54.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003383/1.538, allocations: 47.95 kB / 0.8468 GB, free: 54.27 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/1.538, allocations: 7.938 kB / 0.8468 GB, free: 54.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002247/1.538, allocations: 7.984 kB / 0.8468 GB, free: 54.26 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.629e-05/1.538, allocations: 15.98 kB / 0.8468 GB, free: 54.24 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.818e-05/1.539, allocations: 108.4 kB / 0.8469 GB, free: 54.13 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002649/1.539, allocations: 178.8 kB / 0.8471 GB, free: 53.99 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.373e-05/1.539, allocations: 7.906 kB / 0.8471 GB, free: 53.98 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004522/1.539, allocations: 216.8 kB / 0.8473 GB, free: 53.82 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/1.539, allocations: 4 kB / 0.8473 GB, free: 53.82 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/1.539, allocations: 4 kB / 0.8473 GB, free: 53.81 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/1.539, allocations: 0 / 0.8473 GB, free: 53.81 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007198/1.54, allocations: 0.4943 MB / 0.8478 GB, free: 53.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/1.54, allocations: 4 kB / 0.8478 GB, free: 53.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003059/1.54, allocations: 47.95 kB / 0.8478 GB, free: 53.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/1.54, allocations: 4 kB / 0.8478 GB, free: 53.29 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/1.54, allocations: 4 kB / 0.8478 GB, free: 53.28 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/1.54, allocations: 3.953 kB / 0.8479 GB, free: 53.28 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/1.54, allocations: 0 / 0.8479 GB, free: 53.28 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002967/1.541, allocations: 314.9 kB / 0.8482 GB, free: 52.98 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.228e-05/1.541, allocations: 84.97 kB / 0.8482 GB, free: 52.88 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.512e-05/1.541, allocations: 7.938 kB / 0.8482 GB, free: 52.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002486/1.541, allocations: 7.984 kB / 0.8482 GB, free: 52.87 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.316e-05/1.541, allocations: 19.84 kB / 0.8483 GB, free: 52.85 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-05/1.541, allocations: 8 kB / 0.8483 GB, free: 52.84 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.513e-05/1.541, allocations: 81.16 kB / 0.8484 GB, free: 52.77 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.21e-07/1.541, allocations: 4 kB / 0.8484 GB, free: 52.76 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004393/1.542, allocations: 73.42 kB / 0.8484 GB, free: 52.71 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.001127/1.543, allocations: 1.459 MB / 0.8498 GB, free: 51.28 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002676/1.543, allocations: 147.4 kB / 0.85 GB, free: 51.18 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.543, allocations: 256 / 0.85 GB, free: 51.18 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001007/1.543, allocations: 89.84 kB / 0.8501 GB, free: 51.12 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003239/1.543, allocations: 27.59 kB / 0.8501 GB, free: 51.09 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000647/1.544, allocations: 205.5 kB / 0.8503 GB, free: 50.87 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/1.544, allocations: 0.701 MB / 0.851 GB, free: 50.13 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003669/1.545, allocations: 60.73 kB / 0.851 GB, free: 50.07 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000155/1.545, allocations: 42.59 kB / 0.8511 GB, free: 50.04 MB / 442.7 MB Notification: Performance of SimCode: time 5.01e-07/1.545, allocations: 0 / 0.8511 GB, free: 50.04 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02341/1.568, allocations: 7.3 MB / 0.8582 GB, free: 42.79 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001465/1.568, allocations: 117.5 kB / 0.8583 GB, free: 42.6 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.942/3.511, allocations: 0 / 0.8583 GB, free: 42.6 MB / 442.7 MB (rm -f Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.IdealGasH2O_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_IdealGasH2O_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_IdealGasH2O.fmu > Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Media.Examples.IdealGasH2O_res.mat does not exist to compare? outputFormat=mat