Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001401/0.001401, allocations: 181.4 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.512/1.512, allocations: 205.4 MB / 223.1 MB, free: 9.129 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008683/0.0008683, allocations: 98.58 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002568/0.0002568, allocations: 8 kB / 328.3 MB, free: 15.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.247, allocations: 47.56 MB / 375.9 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7754/1.022, allocations: 442.3 MB / 0.799 GB, free: 6.855 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001893/1.023, allocations: 68.09 kB / 0.7991 GB, free: 6.82 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2347/1.257, allocations: 24.96 MB / 0.8235 GB, free: 158.5 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.244e-06/1.257, allocations: 0 / 0.8235 GB, free: 158.5 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.76e-06/1.257, allocations: 0 / 0.8235 GB, free: 158.5 MB / 426.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.0007877/1.258, allocations: 441.5 kB / 0.8239 GB, free: 158.1 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/1.258, allocations: 9.938 kB / 0.8239 GB, free: 158.1 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.218e-05/1.258, allocations: 45.8 kB / 0.8239 GB, free: 158.1 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005702/1.264, allocations: 453.2 kB / 0.8244 GB, free: 157.8 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.426e-05/1.264, allocations: 163.1 kB / 0.8245 GB, free: 157.6 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/1.264, allocations: 7.812 kB / 0.8245 GB, free: 157.6 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.504e-05/1.264, allocations: 11.53 kB / 0.8245 GB, free: 157.6 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007155/1.265, allocations: 299 kB / 0.8248 GB, free: 157.4 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/1.265, allocations: 4 kB / 0.8248 GB, free: 157.4 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.411e-05/1.265, allocations: 0 / 0.8248 GB, free: 157.4 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/1.265, allocations: 3.469 kB / 0.8248 GB, free: 157.4 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007401/1.266, allocations: 272.9 kB / 0.8251 GB, free: 157.3 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/1.267, allocations: 424.3 kB / 0.8255 GB, free: 156.9 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/1.268, allocations: 217.7 kB / 0.8257 GB, free: 156.7 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.067e-05/1.268, allocations: 11.97 kB / 0.8257 GB, free: 156.7 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/1.268, allocations: 30.81 kB / 0.8257 GB, free: 156.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/1.268, allocations: 0 / 0.8257 GB, free: 156.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=17): time 0.001677/1.27, allocations: 429.7 kB / 0.8261 GB, free: 156.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.774e-05/1.27, allocations: 59.41 kB / 0.8262 GB, free: 156.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.091e-05/1.27, allocations: 89 kB / 0.8263 GB, free: 156.1 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/1.27, allocations: 29.7 kB / 0.8263 GB, free: 156.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.52e-05/1.27, allocations: 103.8 kB / 0.8264 GB, free: 156 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.044e-05/1.27, allocations: 59.11 kB / 0.8265 GB, free: 155.9 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.692e-05/1.27, allocations: 4 kB / 0.8265 GB, free: 155.9 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.747e-05/1.27, allocations: 322.8 kB / 0.8268 GB, free: 155.6 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002307/1.27, allocations: 76.31 kB / 0.8269 GB, free: 155.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002418/1.271, allocations: 121 kB / 0.827 GB, free: 155.4 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002557/1.271, allocations: 83.95 kB / 0.8271 GB, free: 155.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/1.271, allocations: 0 / 0.8271 GB, free: 155.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000565/1.271, allocations: 241.4 kB / 0.8273 GB, free: 155 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/1.271, allocations: 8 kB / 0.8273 GB, free: 155 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/1.271, allocations: 7.938 kB / 0.8273 GB, free: 155 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/1.271, allocations: 4 kB / 0.8273 GB, free: 155 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003559/1.272, allocations: 52.08 kB / 0.8274 GB, free: 155 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/1.272, allocations: 3.953 kB / 0.8274 GB, free: 155 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002538/1.272, allocations: 15.98 kB / 0.8274 GB, free: 155 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.556e-05/1.272, allocations: 11.98 kB / 0.8274 GB, free: 154.9 MB / 426.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 () * 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.087e-05/1.272, allocations: 121.8 kB / 0.8275 GB, free: 154.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.08e-05/1.272, allocations: 7.906 kB / 0.8275 GB, free: 154.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007391/1.273, allocations: 280.4 kB / 0.8278 GB, free: 154.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/1.273, allocations: 4 kB / 0.8278 GB, free: 154.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/1.273, allocations: 0 / 0.8278 GB, free: 154.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/1.273, allocations: 7.953 kB / 0.8278 GB, free: 154.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/1.274, allocations: 0.5722 MB / 0.8283 GB, free: 153.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/1.274, allocations: 3.984 kB / 0.8283 GB, free: 153.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003176/1.274, allocations: 47.89 kB / 0.8284 GB, free: 153.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/1.274, allocations: 0 / 0.8284 GB, free: 153.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.548e-05/1.275, allocations: 7.984 kB / 0.8284 GB, free: 153.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/1.275, allocations: 0 / 0.8284 GB, free: 153.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.275, allocations: 4 kB / 0.8284 GB, free: 153.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005938/1.275, allocations: 352.4 kB / 0.8287 GB, free: 153.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.984e-05/1.275, allocations: 93.02 kB / 0.8288 GB, free: 153.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.862e-05/1.275, allocations: 0 / 0.8288 GB, free: 153.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002574/1.275, allocations: 15.98 kB / 0.8288 GB, free: 153.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.961e-05/1.276, allocations: 19.91 kB / 0.8289 GB, free: 153.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.3e-05/1.276, allocations: 8 kB / 0.8289 GB, free: 153.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.365e-05/1.276, allocations: 83.27 kB / 0.829 GB, free: 153.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.81e-07/1.276, allocations: 0 / 0.829 GB, free: 153.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004596/1.276, allocations: 72 kB / 0.829 GB, free: 153.1 MB / 426.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 () * 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.001426/1.277, allocations: 1.443 MB / 0.8304 GB, free: 151.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005612/1.278, allocations: 203.7 kB / 0.8306 GB, free: 151.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/1.278, allocations: 0 / 0.8306 GB, free: 151.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002449/1.278, allocations: 95.88 kB / 0.8307 GB, free: 151.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003017/1.279, allocations: 44.28 kB / 0.8308 GB, free: 151.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009365/1.28, allocations: 361.3 kB / 0.8311 GB, free: 150.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001281/1.28, allocations: 0.6974 MB / 0.8318 GB, free: 150.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003841/1.28, allocations: 56.59 kB / 0.8318 GB, free: 150.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001626/1.28, allocations: 43.41 kB / 0.8319 GB, free: 150.1 MB / 426.7 MB Notification: Performance of SimCode: time 3.21e-07/1.28, allocations: 0 / 0.8319 GB, free: 150.1 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02327/1.304, allocations: 11.74 MB / 0.8433 GB, free: 138.4 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000138/1.304, allocations: 167.3 kB / 0.8435 GB, free: 138.1 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.775/3.078, allocations: 0 / 0.8435 GB, free: 138.1 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_IdealGasH2O_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_IdealGasH2O.fmu > Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O_res.mat does not exist to compare? outputFormat=mat