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.442/2.442, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001328/0.001328, allocations: 179.5 kB / 0.4901 GB, free: 2.273 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.603/1.603, allocations: 223.1 MB / 0.7992 GB, free: 15.57 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.0009409/0.0009409, allocations: 97.61 kB / 0.9396 GB, free: 2.801 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003871/0.0003871, allocations: 11.09 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.2592, allocations: 143 MB / 1.229 GB, free: 85.41 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 11.12/11.38, allocations: 4.409 GB / 5.638 GB, free: 166 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002495/11.38, allocations: 83.77 kB / 5.638 GB, free: 166 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.08986/11.47, allocations: 47.13 MB / 5.684 GB, free: 126.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.886e-06/11.47, allocations: 0 / 5.684 GB, free: 126.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 7.845e-06/11.47, allocations: 0 / 5.684 GB, free: 126.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.0003827/11.47, allocations: 342.9 kB / 5.684 GB, free: 126.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/11.47, allocations: 8.031 kB / 5.684 GB, free: 126.4 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.467e-05/11.47, allocations: 38.55 kB / 5.684 GB, free: 126.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002239/11.47, allocations: 16.77 kB / 5.684 GB, free: 126.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.754e-05/11.47, allocations: 159.1 kB / 5.685 GB, free: 126.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.916e-05/11.47, allocations: 25.7 kB / 5.685 GB, free: 126.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/11.47, allocations: 7.953 kB / 5.685 GB, free: 126.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/11.47, allocations: 57.03 kB / 5.685 GB, free: 126 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/11.47, allocations: 0 / 5.685 GB, free: 126 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/11.47, allocations: 0 / 5.685 GB, free: 126 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.126e-05/11.47, allocations: 4 kB / 5.685 GB, free: 126 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.149e-05/11.47, allocations: 19.86 kB / 5.685 GB, free: 126 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004125/11.48, allocations: 260.6 kB / 5.685 GB, free: 125.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 5.011e-05/11.48, allocations: 26.7 kB / 5.685 GB, free: 125.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 9.748e-06/11.48, allocations: 0 / 5.685 GB, free: 125.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/11.48, allocations: 30.56 kB / 5.685 GB, free: 125.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=1): time 9.31e-07/11.48, allocations: 0 / 5.685 GB, free: 125.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=1): time 0.0001568/11.48, allocations: 33.77 kB / 5.685 GB, free: 125.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/11.48, allocations: 55.34 kB / 5.685 GB, free: 125.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.12e-05/11.48, allocations: 108.7 kB / 5.685 GB, free: 125.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/11.48, allocations: 25.7 kB / 5.685 GB, free: 125.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 3.685e-05/11.48, allocations: 95.81 kB / 5.685 GB, free: 125.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 5.401e-06/11.48, allocations: 0 / 5.685 GB, free: 125.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.808e-06/11.48, allocations: 4 kB / 5.685 GB, free: 125.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.352e-05/11.48, allocations: 314.8 kB / 5.686 GB, free: 125 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.313e-05/11.48, allocations: 7.938 kB / 5.686 GB, free: 125 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.441e-05/11.48, allocations: 22.14 kB / 5.686 GB, free: 125 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.929e-05/11.48, allocations: 23.75 kB / 5.686 GB, free: 124.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/11.48, allocations: 0 / 5.686 GB, free: 124.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.564e-05/11.48, allocations: 48.83 kB / 5.686 GB, free: 124.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/11.48, allocations: 7.984 kB / 5.686 GB, free: 124.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/11.48, allocations: 7.938 kB / 5.686 GB, free: 124.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/11.48, allocations: 0 / 5.686 GB, free: 124.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.381e-05/11.48, allocations: 4 kB / 5.686 GB, free: 124.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/11.48, allocations: 8.094 kB / 5.686 GB, free: 124.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.191e-05/11.48, allocations: 3.906 kB / 5.686 GB, free: 124.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/11.48, allocations: 0 / 5.686 GB, free: 124.9 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 () * Number of clocked 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 6.945e-05/11.48, allocations: 121.3 kB / 5.686 GB, free: 124.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.526e-05/11.48, allocations: 0 / 5.686 GB, free: 124.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.516e-05/11.48, allocations: 11.11 kB / 5.686 GB, free: 124.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/11.48, allocations: 0 / 5.686 GB, free: 124.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/11.48, allocations: 0 / 5.686 GB, free: 124.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/11.48, allocations: 0 / 5.686 GB, free: 124.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002093/11.48, allocations: 350.2 kB / 5.686 GB, free: 124.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/11.48, allocations: 0 / 5.686 GB, free: 124.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.554e-05/11.48, allocations: 4.25 kB / 5.686 GB, free: 124.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/11.48, allocations: 0 / 5.686 GB, free: 124.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/11.48, allocations: 4 kB / 5.686 GB, free: 124.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/11.48, allocations: 0 / 5.686 GB, free: 124.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/11.48, allocations: 0 / 5.686 GB, free: 124.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.848e-05/11.48, allocations: 69.05 kB / 5.686 GB, free: 124.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.432e-05/11.48, allocations: 77.11 kB / 5.686 GB, free: 124.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/11.48, allocations: 0 / 5.686 GB, free: 124.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.896e-05/11.48, allocations: 7.625 kB / 5.686 GB, free: 124.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.712e-05/11.48, allocations: 3.984 kB / 5.686 GB, free: 124.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/11.48, allocations: 0 / 5.686 GB, free: 124.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 3.256e-05/11.48, allocations: 79.28 kB / 5.686 GB, free: 124.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.2e-07/11.48, allocations: 0 / 5.686 GB, free: 124.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0003419/11.48, allocations: 50.52 kB / 5.687 GB, free: 124 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 () * Number of clocked 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.0008827/11.48, allocations: 1.072 MB / 5.688 GB, free: 123 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 8.804e-05/11.48, allocations: 11.81 kB / 5.688 GB, free: 122.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/11.48, allocations: 4 kB / 5.688 GB, free: 122.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 5.581e-06/11.48, allocations: 0 / 5.688 GB, free: 122.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001571/11.48, allocations: 4 kB / 5.688 GB, free: 122.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003958/11.48, allocations: 162.8 kB / 5.688 GB, free: 122.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001384/11.48, allocations: 0.6809 MB / 5.688 GB, free: 122 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 6.228e-05/11.48, allocations: 7.984 kB / 5.688 GB, free: 122 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.808e-05/11.48, allocations: 7.438 kB / 5.688 GB, free: 122 MB / 1.167 GB Notification: Performance of SimCode: time 6.882e-06/11.48, allocations: 0 / 5.688 GB, free: 122 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02547/11.5, allocations: 10.58 MB / 5.699 GB, free: 111.6 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001764/11.5, allocations: 218.4 kB / 5.699 GB, free: 111.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.946/13.45, allocations: 0 / 5.699 GB, free: 111.4 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