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.21/2.21, allocations: 390.3 MB / 402.8 MB, free: 6.703 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.001384/0.001384, allocations: 180.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.574/1.574, allocations: 221.3 MB / 0.7915 GB, free: 5.434 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.0009724/0.0009725, allocations: 91.95 kB / 0.9317 GB, free: 5.754 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.331e-05/3.351e-05, allocations: 0 / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.2889, allocations: 143 MB / 1.219 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 10.31/10.6, allocations: 4.409 GB / 5.628 GB, free: 158.5 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002138/10.6, allocations: 75.95 kB / 5.628 GB, free: 158.5 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.08277/10.69, allocations: 47.04 MB / 5.674 GB, free: 110.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.473e-06/10.69, allocations: 0 / 5.674 GB, free: 110.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 5.981e-06/10.69, allocations: 0 / 5.674 GB, free: 110.8 MB / 1.167 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.0002575/10.69, allocations: 346.4 kB / 5.674 GB, free: 110.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/10.69, allocations: 8.031 kB / 5.674 GB, free: 110.4 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.059e-05/10.69, allocations: 34.56 kB / 5.674 GB, free: 110.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001772/10.69, allocations: 15.98 kB / 5.674 GB, free: 110.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.578e-05/10.69, allocations: 163.9 kB / 5.674 GB, free: 110.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.99e-05/10.69, allocations: 25.7 kB / 5.674 GB, free: 110.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/10.69, allocations: 7.953 kB / 5.674 GB, free: 110.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/10.69, allocations: 45.69 kB / 5.674 GB, free: 110.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/10.69, allocations: 0 / 5.674 GB, free: 110.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/10.69, allocations: 7.984 kB / 5.674 GB, free: 110 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.728e-05/10.69, allocations: 4 kB / 5.674 GB, free: 110 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.869e-05/10.69, allocations: 15.94 kB / 5.674 GB, free: 110 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003178/10.69, allocations: 260.8 kB / 5.674 GB, free: 109.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 3.343e-05/10.69, allocations: 22.52 kB / 5.674 GB, free: 109.7 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.77e-05/10.69, allocations: 8.859 kB / 5.674 GB, free: 109.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 7.534e-06/10.69, allocations: 0 / 5.674 GB, free: 109.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.701e-05/10.69, allocations: 38.62 kB / 5.674 GB, free: 109.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=1): time 7.51e-07/10.69, allocations: 0 / 5.674 GB, free: 109.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=1): time 0.0001136/10.69, allocations: 37.62 kB / 5.675 GB, free: 109.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.261e-05/10.69, allocations: 51.41 kB / 5.675 GB, free: 109.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.077e-05/10.69, allocations: 100.9 kB / 5.675 GB, free: 109.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/10.69, allocations: 25.7 kB / 5.675 GB, free: 109.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 3.379e-05/10.69, allocations: 96 kB / 5.675 GB, free: 109.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 7.414e-06/10.69, allocations: 7.906 kB / 5.675 GB, free: 109.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/10.69, allocations: 4 kB / 5.675 GB, free: 109.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 4.682e-05/10.69, allocations: 314.8 kB / 5.675 GB, free: 109 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.197e-05/10.69, allocations: 4 kB / 5.675 GB, free: 109 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.886e-05/10.69, allocations: 22.58 kB / 5.675 GB, free: 108.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.11e-05/10.69, allocations: 11.98 kB / 5.675 GB, free: 108.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/10.69, allocations: 0 / 5.675 GB, free: 108.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.323e-05/10.69, allocations: 57.72 kB / 5.675 GB, free: 108.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/10.69, allocations: 5.25 kB / 5.675 GB, free: 108.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/10.69, allocations: 3.984 kB / 5.675 GB, free: 108.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/10.69, allocations: 3.984 kB / 5.675 GB, free: 108.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.587e-05/10.69, allocations: 11.94 kB / 5.675 GB, free: 108.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/10.69, allocations: 0 / 5.675 GB, free: 108.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.532e-05/10.69, allocations: 8.094 kB / 5.675 GB, free: 108.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/10.69, allocations: 0 / 5.675 GB, free: 108.8 MB / 1.167 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.39e-05/10.69, allocations: 104.9 kB / 5.675 GB, free: 108.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.332e-05/10.69, allocations: 7.906 kB / 5.675 GB, free: 108.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.841e-05/10.69, allocations: 7.125 kB / 5.675 GB, free: 108.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.32e-07/10.69, allocations: 0 / 5.675 GB, free: 108.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/10.69, allocations: 3.984 kB / 5.675 GB, free: 108.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/10.69, allocations: 0 / 5.675 GB, free: 108.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/10.69, allocations: 350.7 kB / 5.676 GB, free: 108.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/10.69, allocations: 0 / 5.676 GB, free: 108.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.258e-05/10.69, allocations: 4 kB / 5.676 GB, free: 108.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/10.69, allocations: 0 / 5.676 GB, free: 108.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/10.69, allocations: 0 / 5.676 GB, free: 108.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/10.69, allocations: 0 / 5.676 GB, free: 108.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/10.69, allocations: 0 / 5.676 GB, free: 108.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.563e-05/10.69, allocations: 69.11 kB / 5.676 GB, free: 108.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.886e-05/10.69, allocations: 77.36 kB / 5.676 GB, free: 108.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/10.69, allocations: 0 / 5.676 GB, free: 108.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.167e-05/10.69, allocations: 8 kB / 5.676 GB, free: 108.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.515e-05/10.69, allocations: 7.922 kB / 5.676 GB, free: 108.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-06/10.69, allocations: 4 kB / 5.676 GB, free: 108.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 2.796e-05/10.69, allocations: 83.22 kB / 5.676 GB, free: 108 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.6e-07/10.69, allocations: 3.938 kB / 5.676 GB, free: 108 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0002926/10.69, allocations: 39.98 kB / 5.676 GB, free: 108 MB / 1.167 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.0006915/10.69, allocations: 1.066 MB / 5.677 GB, free: 106.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 6.293e-05/10.69, allocations: 15.92 kB / 5.677 GB, free: 106.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/10.69, allocations: 4 kB / 5.677 GB, free: 106.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 4.167e-06/10.69, allocations: 0 / 5.677 GB, free: 106.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001247/10.69, allocations: 12.88 kB / 5.677 GB, free: 106.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002397/10.69, allocations: 87.08 kB / 5.677 GB, free: 106.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001258/10.69, allocations: 0.6773 MB / 5.678 GB, free: 106 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 5.1e-05/10.69, allocations: 12 kB / 5.678 GB, free: 106 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.644e-05/10.69, allocations: 11.42 kB / 5.678 GB, free: 106 MB / 1.167 GB Notification: Performance of SimCode: time 3.61e-07/10.69, allocations: 0 / 5.678 GB, free: 106 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02101/10.71, allocations: 12.37 MB / 5.69 GB, free: 93.81 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001436/10.71, allocations: 199.3 kB / 5.69 GB, free: 93.57 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.8/12.51, allocations: 4 kB / 5.69 GB, free: 93.57 MB / 1.167 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