Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.266/2.266, allocations: 387.1 MB / 399.7 MB, free: 9.543 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.001235/0.001235, allocations: 169 kB / 492.3 MB, free: 0.6328 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.637/1.637, allocations: 221.3 MB / 0.7872 GB, free: 12.92 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.0009524/0.0009525, allocations: 91.12 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.179e-05/4.181e-05, allocations: 8 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3827/0.3827, allocations: 142.3 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 11.45/11.84, allocations: 4.408 GB / 5.62 GB, free: 76.91 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002329/11.84, allocations: 80.58 kB / 5.62 GB, free: 76.87 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.08737/11.92, allocations: 47.02 MB / 5.666 GB, free: 32.19 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.864e-06/11.92, allocations: 0 / 5.666 GB, free: 32.19 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.586e-06/11.92, allocations: 0 / 5.666 GB, free: 32.19 MB / 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.0003124/11.93, allocations: 334.4 kB / 5.667 GB, free: 31.82 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.673e-05/11.93, allocations: 12.03 kB / 5.667 GB, free: 31.8 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.503e-05/11.93, allocations: 30.56 kB / 5.667 GB, free: 31.77 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002146/11.93, allocations: 16.77 kB / 5.667 GB, free: 31.75 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.127e-05/11.93, allocations: 167 kB / 5.667 GB, free: 31.55 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.623e-05/11.93, allocations: 29.7 kB / 5.667 GB, free: 31.51 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/11.93, allocations: 4 kB / 5.667 GB, free: 31.51 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/11.93, allocations: 45.64 kB / 5.667 GB, free: 31.46 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/11.93, allocations: 0 / 5.667 GB, free: 31.46 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/11.93, allocations: 4 kB / 5.667 GB, free: 31.45 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.944e-05/11.93, allocations: 0 / 5.667 GB, free: 31.45 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.254e-05/11.93, allocations: 19.98 kB / 5.667 GB, free: 31.43 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000384/11.93, allocations: 268.8 kB / 5.667 GB, free: 31.12 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 3.166e-05/11.93, allocations: 14.58 kB / 5.667 GB, free: 31.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.888e-05/11.93, allocations: 16.92 kB / 5.667 GB, free: 31.08 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 6.272e-06/11.93, allocations: 0 / 5.667 GB, free: 31.08 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.712e-05/11.93, allocations: 30.56 kB / 5.667 GB, free: 31.04 MB / 1.151 GB Notification: Performance of pre-optimization done (n=1): time 1.603e-06/11.93, allocations: 3.984 kB / 5.667 GB, free: 31.04 MB / 1.151 GB Notification: Performance of matching and sorting (n=1): time 0.0001234/11.93, allocations: 37.64 kB / 5.667 GB, free: 30.99 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.103e-05/11.93, allocations: 51.41 kB / 5.667 GB, free: 30.93 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.669e-05/11.93, allocations: 104.9 kB / 5.668 GB, free: 30.82 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.128e-06/11.93, allocations: 25.7 kB / 5.668 GB, free: 30.79 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 3.258e-05/11.93, allocations: 91.95 kB / 5.668 GB, free: 30.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.312e-06/11.93, allocations: 7.938 kB / 5.668 GB, free: 30.69 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-06/11.93, allocations: 0 / 5.668 GB, free: 30.69 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 4.92e-05/11.93, allocations: 314.8 kB / 5.668 GB, free: 30.37 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.407e-05/11.93, allocations: 8.031 kB / 5.668 GB, free: 30.36 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.128e-05/11.93, allocations: 26.58 kB / 5.668 GB, free: 30.33 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.941e-05/11.93, allocations: 4 kB / 5.668 GB, free: 30.32 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/11.93, allocations: 3.953 kB / 5.668 GB, free: 30.32 MB / 1.151 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.065e-05/11.93, allocations: 53.72 kB / 5.668 GB, free: 30.26 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/11.93, allocations: 11.94 kB / 5.668 GB, free: 30.25 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/11.93, allocations: 4 kB / 5.668 GB, free: 30.25 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/11.93, allocations: 0 / 5.668 GB, free: 30.25 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.153e-05/11.93, allocations: 11.92 kB / 5.668 GB, free: 30.23 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.966e-06/11.93, allocations: 4 kB / 5.668 GB, free: 30.23 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.911e-05/11.93, allocations: 3.906 kB / 5.668 GB, free: 30.23 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/11.93, allocations: 0 / 5.668 GB, free: 30.23 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.889e-05/11.93, allocations: 105 kB / 5.668 GB, free: 30.12 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.447e-05/11.93, allocations: 3.953 kB / 5.668 GB, free: 30.11 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.905e-05/11.93, allocations: 11.12 kB / 5.668 GB, free: 30.11 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/11.93, allocations: 4 kB / 5.668 GB, free: 30.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/11.93, allocations: 0 / 5.668 GB, free: 30.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/11.93, allocations: 0 / 5.668 GB, free: 30.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000183/11.93, allocations: 346.7 kB / 5.669 GB, free: 29.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/11.93, allocations: 0 / 5.669 GB, free: 29.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.311e-05/11.93, allocations: 3.938 kB / 5.669 GB, free: 29.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/11.93, allocations: 0 / 5.669 GB, free: 29.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/11.93, allocations: 8.031 kB / 5.669 GB, free: 29.69 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/11.93, allocations: 0 / 5.669 GB, free: 29.69 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/11.93, allocations: 0 / 5.669 GB, free: 29.69 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.298e-05/11.93, allocations: 61.08 kB / 5.669 GB, free: 29.61 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 2.067e-05/11.93, allocations: 81.11 kB / 5.669 GB, free: 29.52 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/11.93, allocations: 0 / 5.669 GB, free: 29.52 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.782e-05/11.93, allocations: 4 kB / 5.669 GB, free: 29.51 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.382e-05/11.93, allocations: 4.031 kB / 5.669 GB, free: 29.51 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/11.93, allocations: 256 / 5.669 GB, free: 29.51 MB / 1.151 GB Notification: Performance of sorting global known variables: time 4.23e-05/11.93, allocations: 91.27 kB / 5.669 GB, free: 29.42 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.41e-07/11.93, allocations: 0 / 5.669 GB, free: 29.42 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0003674/11.93, allocations: 40 kB / 5.669 GB, free: 29.38 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.001018/11.93, allocations: 1.076 MB / 5.67 GB, free: 28.28 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 8.561e-05/11.93, allocations: 11.94 kB / 5.67 GB, free: 28.27 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/11.93, allocations: 3.938 kB / 5.67 GB, free: 28.26 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 8.576e-06/11.93, allocations: 8.188 kB / 5.67 GB, free: 28.25 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001672/11.93, allocations: 7.984 kB / 5.67 GB, free: 28.25 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003034/11.93, allocations: 98.95 kB / 5.67 GB, free: 28.11 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001514/11.93, allocations: 0.677 MB / 5.671 GB, free: 27.41 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 5.821e-05/11.93, allocations: 4 kB / 5.671 GB, free: 27.41 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.469e-05/11.93, allocations: 7.5 kB / 5.671 GB, free: 27.4 MB / 1.151 GB Notification: Performance of SimCode: time 3.2e-07/11.93, allocations: 4 kB / 5.671 GB, free: 27.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02444/11.95, allocations: 12.37 MB / 5.683 GB, free: 15.18 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001464/11.95, allocations: 186.1 kB / 5.683 GB, free: 14.95 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.816/13.77, allocations: 0 / 5.683 GB, free: 14.95 MB / 1.151 GB (rm -f Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat does not exist to compare? outputFormat=mat