Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.38/2.38, allocations: 390.5 MB / 398 MB, free: 10.98 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001671/0.001671, allocations: 180.9 kB / 491.2 MB, free: 1.605 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.774/1.774, allocations: 221.5 MB / 0.7868 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 87.91 kB / 0.9269 GB, free: 13.83 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.429e-05/2.416e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.305, allocations: 143 MB / 1.212 GB, free: 39.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 9.786/10.09, allocations: 4.408 GB / 5.62 GB, free: 45.46 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/10.09, allocations: 84.72 kB / 5.62 GB, free: 45.41 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.08523/10.18, allocations: 46.3 MB / 5.666 GB, free: 52 kB / 1.151 GB Notification: Performance of FrontEnd: time 1.523e-06/10.18, allocations: 0 / 5.666 GB, free: 52 kB / 1.151 GB Notification: Performance of Transformations before backend: time 8.696e-06/10.18, allocations: 4 kB / 5.666 GB, free: 48 kB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.6317/10.81, allocations: 326.6 kB / 5.666 GB, free: 407.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/10.81, allocations: 9.094 kB / 5.666 GB, free: 407.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002669/10.81, allocations: 18.47 kB / 5.666 GB, free: 407.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.778e-05/10.81, allocations: 162.6 kB / 5.666 GB, free: 407.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.827e-05/10.81, allocations: 28.56 kB / 5.666 GB, free: 407.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/10.81, allocations: 2.031 kB / 5.666 GB, free: 407.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001011/10.81, allocations: 18 kB / 5.666 GB, free: 407.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.575e-05/10.81, allocations: 43.98 kB / 5.666 GB, free: 407.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/10.81, allocations: 2.688 kB / 5.666 GB, free: 407.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.675e-05/10.81, allocations: 2.766 kB / 5.666 GB, free: 407.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.266e-05/10.81, allocations: 2.516 kB / 5.666 GB, free: 407.4 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003563/10.81, allocations: 241.7 kB / 5.667 GB, free: 407.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 3.537e-05/10.81, allocations: 20.11 kB / 5.667 GB, free: 407.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.776e-05/10.81, allocations: 10.38 kB / 5.667 GB, free: 407.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 9.478e-06/10.81, allocations: 1.094 kB / 5.667 GB, free: 407.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.733e-05/10.81, allocations: 32.81 kB / 5.667 GB, free: 407.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=1): time 1.183e-06/10.81, allocations: 2.375 kB / 5.667 GB, free: 407.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=1): time 0.0001205/10.81, allocations: 32.84 kB / 5.667 GB, free: 407.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.856e-05/10.81, allocations: 52.34 kB / 5.667 GB, free: 407 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.999e-05/10.81, allocations: 102.2 kB / 5.667 GB, free: 406.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/10.81, allocations: 26.42 kB / 5.667 GB, free: 406.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 3.452e-05/10.81, allocations: 90.59 kB / 5.667 GB, free: 406.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.805e-06/10.81, allocations: 9.047 kB / 5.667 GB, free: 406.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-06/10.81, allocations: 0.5938 kB / 5.667 GB, free: 406.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.342e-05/10.81, allocations: 314.9 kB / 5.667 GB, free: 406.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.499e-05/10.81, allocations: 5.531 kB / 5.667 GB, free: 406.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.457e-05/10.81, allocations: 25.66 kB / 5.667 GB, free: 406.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.497e-05/10.81, allocations: 7.484 kB / 5.667 GB, free: 406.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/10.81, allocations: 0 / 5.667 GB, free: 406.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.871e-05/10.81, allocations: 51.36 kB / 5.667 GB, free: 406.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/10.81, allocations: 8.281 kB / 5.667 GB, free: 406.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/10.81, allocations: 0.5938 kB / 5.667 GB, free: 406.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/10.81, allocations: 2.688 kB / 5.667 GB, free: 406.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.248e-05/10.81, allocations: 6.922 kB / 5.667 GB, free: 406.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/10.81, allocations: 1.406 kB / 5.667 GB, free: 406.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.811e-05/10.81, allocations: 1.734 kB / 5.667 GB, free: 406.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.787e-06/10.81, allocations: 8.359 kB / 5.667 GB, free: 406.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 4 * 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 4.838e-05/10.81, allocations: 106.6 kB / 5.667 GB, free: 406.3 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.67e-05/10.81, allocations: 40.94 kB / 5.667 GB, free: 406.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.431e-05/10.81, allocations: 5.703 kB / 5.667 GB, free: 406.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.151e-05/10.81, allocations: 4.766 kB / 5.667 GB, free: 406.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/10.81, allocations: 2.938 kB / 5.667 GB, free: 406.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/10.81, allocations: 5.594 kB / 5.667 GB, free: 406.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/10.81, allocations: 3.078 kB / 5.667 GB, free: 406.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001677/10.81, allocations: 321.5 kB / 5.668 GB, free: 405.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/10.81, allocations: 1.094 kB / 5.668 GB, free: 405.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.596e-05/10.81, allocations: 2.703 kB / 5.668 GB, free: 405.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/10.81, allocations: 4.406 kB / 5.668 GB, free: 405.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/10.81, allocations: 2.625 kB / 5.668 GB, free: 405.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/10.81, allocations: 3.953 kB / 5.668 GB, free: 405.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/10.81, allocations: 2.562 kB / 5.668 GB, free: 405.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.659e-05/10.81, allocations: 62.52 kB / 5.668 GB, free: 405.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 2.273e-05/10.81, allocations: 82.69 kB / 5.668 GB, free: 405.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/10.81, allocations: 1.188 kB / 5.668 GB, free: 405.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.413e-05/10.81, allocations: 6.406 kB / 5.668 GB, free: 405.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.749e-05/10.81, allocations: 5.609 kB / 5.668 GB, free: 405.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-06/10.81, allocations: 0 / 5.668 GB, free: 405.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 3.049e-05/10.81, allocations: 85.52 kB / 5.668 GB, free: 405.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/10.81, allocations: 1.094 kB / 5.668 GB, free: 405.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0002601/10.81, allocations: 32.66 kB / 5.668 GB, free: 405.7 MB / 1.151 GB 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 (1): * Single equations (assignments): 1 * 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.00108/10.81, allocations: 1.152 MB / 5.669 GB, free: 405.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 7.052e-05/10.81, allocations: 11.06 kB / 5.669 GB, free: 405.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/10.81, allocations: 0 / 5.669 GB, free: 405.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 5.44e-06/10.81, allocations: 3.906 kB / 5.669 GB, free: 405.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000155/10.81, allocations: 13.67 kB / 5.669 GB, free: 405 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002575/10.81, allocations: 92.97 kB / 5.669 GB, free: 404.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/10.81, allocations: 0.681 MB / 5.67 GB, free: 404.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 5.935e-05/10.81, allocations: 15.12 kB / 5.67 GB, free: 404.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.703e-05/10.81, allocations: 8.469 kB / 5.67 GB, free: 404.2 MB / 1.151 GB Notification: Performance of SimCode: time 2.5e-07/10.81, allocations: 3.031 kB / 5.67 GB, free: 404.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02894/10.84, allocations: 5.435 MB / 5.675 GB, free: 403.9 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001517/10.84, allocations: 179.9 kB / 5.675 GB, free: 403.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.711/12.55, allocations: 0 / 5.675 GB, free: 403.7 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat does not exist to compare? outputFormat=mat