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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001268/0.001268, allocations: 95.72 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001602/0.001602, allocations: 204.3 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.649/1.649, allocations: 227.3 MB / 245.9 MB, free: 12.03 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002808/0.0002809, allocations: 8 kB / 306.7 MB, free: 1.492 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1245, allocations: 51.5 MB / 358.2 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.2696/0.3942, allocations: 125.5 MB / 483.7 MB, free: 15.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001893/0.3961, allocations: 2.11 MB / 485.8 MB, free: 12.94 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.627e-05/0.3961, allocations: 4 kB / 485.8 MB, free: 12.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001075/0.3962, allocations: 19.88 kB / 485.8 MB, free: 12.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005432/0.3968, allocations: 279.1 kB / 486.1 MB, free: 12.64 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001144/0.3969, allocations: 55.8 kB / 486.1 MB, free: 12.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.563e-05/0.397, allocations: 55.91 kB / 486.2 MB, free: 12.53 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.933e-05/0.397, allocations: 4 kB / 486.2 MB, free: 12.53 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.3972, allocations: 47.83 kB / 486.2 MB, free: 12.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.772e-05/0.3972, allocations: 27.91 kB / 486.3 MB, free: 12.45 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.766e-06/0.3972, allocations: 4 kB / 486.3 MB, free: 12.45 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000594/0.3978, allocations: 379.5 kB / 486.7 MB, free: 12.08 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.168e-05/0.3979, allocations: 11.98 kB / 486.7 MB, free: 12.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.355e-05/0.3979, allocations: 37.64 kB / 486.7 MB, free: 12.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002693/0.3982, allocations: 205.1 kB / 486.9 MB, free: 11.83 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.3982, allocations: 0 / 486.9 MB, free: 11.83 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3982, allocations: 0 / 486.9 MB, free: 11.83 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.386e-06/0.3982, allocations: 0 / 486.9 MB, free: 11.83 MB / 398.1 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.0006513/0.3988, allocations: 427.8 kB / 487.3 MB, free: 11.36 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.3989, allocations: 12.03 kB / 487.3 MB, free: 11.35 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.204e-05/0.3989, allocations: 38.55 kB / 487.4 MB, free: 11.3 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005711/0.4046, allocations: 455.8 kB / 487.8 MB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.189e-05/0.4047, allocations: 171 kB / 488 MB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.4047, allocations: 7.906 kB / 488 MB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.809e-05/0.4048, allocations: 8 kB / 488 MB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000655/0.4055, allocations: 297.3 kB / 488.3 MB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.4055, allocations: 0 / 488.3 MB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.147e-05/0.4055, allocations: 0 / 488.3 MB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.4055, allocations: 0 / 488.3 MB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007134/0.4062, allocations: 279.8 kB / 488.6 MB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008118/0.4071, allocations: 425.3 kB / 489 MB, free: 9.602 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008693/0.4079, allocations: 206.3 kB / 489.2 MB, free: 9.391 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.408, allocations: 4 kB / 489.2 MB, free: 9.387 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.408, allocations: 38.52 kB / 489.2 MB, free: 9.34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.122e-06/0.408, allocations: 3.938 kB / 489.2 MB, free: 9.336 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001469/0.4095, allocations: 409.3 kB / 489.6 MB, free: 8.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.649e-05/0.4095, allocations: 55.39 kB / 489.7 MB, free: 8.863 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.465e-05/0.4096, allocations: 101.9 kB / 489.8 MB, free: 8.754 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.4096, allocations: 33.64 kB / 489.8 MB, free: 8.715 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.409e-05/0.4097, allocations: 91.94 kB / 489.9 MB, free: 8.621 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.454e-05/0.4097, allocations: 67.03 kB / 490 MB, free: 8.555 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.654e-05/0.4097, allocations: 4 kB / 490 MB, free: 8.551 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 7.363e-05/0.4098, allocations: 318.8 kB / 490.3 MB, free: 8.23 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002366/0.41, allocations: 80.31 kB / 490.4 MB, free: 8.152 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002498/0.4103, allocations: 120.9 kB / 490.5 MB, free: 8.02 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000237/0.4105, allocations: 82.47 kB / 490.6 MB, free: 7.941 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.4106, allocations: 0 / 490.6 MB, free: 7.941 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005702/0.4111, allocations: 249.2 kB / 490.8 MB, free: 7.691 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.4112, allocations: 11.98 kB / 490.8 MB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.676e-06/0.4112, allocations: 0 / 490.8 MB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.848e-06/0.4112, allocations: 4 kB / 490.8 MB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003275/0.4115, allocations: 47.95 kB / 490.9 MB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.4115, allocations: 128 / 490.9 MB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002359/0.4118, allocations: 19.98 kB / 490.9 MB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.794e-05/0.4118, allocations: 11.94 kB / 490.9 MB, free: 7.598 MB / 398.1 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 () * Number of clocked 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.041e-05/0.4119, allocations: 117.8 kB / 491 MB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.589e-05/0.4119, allocations: 7.953 kB / 491 MB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000729/0.4127, allocations: 282.8 kB / 491.3 MB, free: 7.184 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.4127, allocations: 0 / 491.3 MB, free: 7.184 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.4127, allocations: 4 kB / 491.3 MB, free: 7.18 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.4127, allocations: 0 / 491.3 MB, free: 7.18 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/0.4138, allocations: 0.5879 MB / 491.9 MB, free: 6.531 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4138, allocations: 3.938 kB / 491.9 MB, free: 6.527 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003095/0.4141, allocations: 47.89 kB / 491.9 MB, free: 6.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.4141, allocations: 0 / 491.9 MB, free: 6.48 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.254e-05/0.4141, allocations: 11.98 kB / 491.9 MB, free: 6.469 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.4141, allocations: 0 / 491.9 MB, free: 6.469 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.706e-06/0.4141, allocations: 4 kB / 491.9 MB, free: 6.465 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005814/0.4147, allocations: 350.9 kB / 492.3 MB, free: 6.09 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.057e-05/0.4148, allocations: 89.02 kB / 492.4 MB, free: 5.984 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.238e-05/0.4148, allocations: 0 / 492.4 MB, free: 5.984 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000255/0.4151, allocations: 23.88 kB / 492.4 MB, free: 5.961 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.624e-05/0.4151, allocations: 11.98 kB / 492.4 MB, free: 5.949 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.257e-05/0.4151, allocations: 15.98 kB / 492.4 MB, free: 5.934 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.837e-05/0.4152, allocations: 75.28 kB / 492.5 MB, free: 5.859 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4152, allocations: 4 kB / 492.5 MB, free: 5.855 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002959/0.4155, allocations: 48.23 kB / 492.6 MB, free: 5.809 MB / 398.1 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 () * Number of clocked 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.0008762/0.4164, allocations: 1.041 MB / 493.6 MB, free: 4.73 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005347/0.4169, allocations: 199.7 kB / 493.8 MB, free: 4.535 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4169, allocations: 0 / 493.8 MB, free: 4.535 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002557/0.4172, allocations: 108.1 kB / 493.9 MB, free: 4.43 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002855/0.4175, allocations: 38.92 kB / 493.9 MB, free: 4.395 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008532/0.4183, allocations: 350.3 kB / 494.3 MB, free: 4.008 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002381/0.4186, allocations: 0.7013 MB / 495 MB, free: 3.277 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003644/0.4189, allocations: 56.62 kB / 495 MB, free: 3.227 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.4191, allocations: 43.41 kB / 495.1 MB, free: 3.184 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4191, allocations: 0 / 495.1 MB, free: 3.184 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2176/0.6367, allocations: 3.975 MB / 499 MB, free: 15.34 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002045/0.6369, allocations: 158.4 kB / 499.2 MB, free: 15.1 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.745/2.382, allocations: 0 / 499.2 MB, free: 15.1 MB / 414.1 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