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.268/2.268, allocations: 387.4 MB / 394.9 MB, free: 13.42 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.001352/0.001352, allocations: 188.8 kB / 487.4 MB, free: 5.055 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.536/1.536, allocations: 221.5 MB / 0.7824 GB, free: 1.027 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 91.89 kB / 0.9219 GB, free: 2.258 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.688e-05/1.691e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3196, allocations: 142.4 MB / 1.206 GB, free: 43.89 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 10.92/11.24, allocations: 4.407 GB / 5.613 GB, free: 86.99 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/11.24, allocations: 81.94 kB / 5.613 GB, free: 86.95 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.08089/11.32, allocations: 46.29 MB / 5.659 GB, free: 43.39 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.334e-06/11.32, allocations: 0 / 5.659 GB, free: 43.39 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.418e-06/11.32, allocations: 4 kB / 5.659 GB, free: 43.39 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.0003248/11.32, allocations: 330.4 kB / 5.659 GB, free: 43.02 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.82e-05/11.32, allocations: 8.562 kB / 5.659 GB, free: 43.02 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002255/11.32, allocations: 20.77 kB / 5.659 GB, free: 43 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/11.32, allocations: 159.1 kB / 5.659 GB, free: 42.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.799e-05/11.32, allocations: 29.7 kB / 5.659 GB, free: 42.77 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/11.32, allocations: 0 / 5.659 GB, free: 42.77 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001054/11.32, allocations: 23.98 kB / 5.659 GB, free: 42.74 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.827e-05/11.32, allocations: 45.58 kB / 5.659 GB, free: 42.69 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/11.32, allocations: 0 / 5.659 GB, free: 42.69 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/11.32, allocations: 0 / 5.659 GB, free: 42.69 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.225e-05/11.32, allocations: 4 kB / 5.659 GB, free: 42.69 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003936/11.32, allocations: 237.4 kB / 5.659 GB, free: 42.42 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 4.501e-05/11.32, allocations: 26.47 kB / 5.659 GB, free: 42.38 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.467e-05/11.32, allocations: 9.234 kB / 5.659 GB, free: 42.37 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/11.32, allocations: 0 / 5.659 GB, free: 42.37 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/11.32, allocations: 30.56 kB / 5.659 GB, free: 42.33 MB / 1.151 GB Notification: Performance of pre-optimization done (n=1): time 9.01e-07/11.32, allocations: 3.938 kB / 5.659 GB, free: 42.33 MB / 1.151 GB Notification: Performance of matching and sorting (n=1): time 0.000154/11.32, allocations: 37.69 kB / 5.659 GB, free: 42.29 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/11.32, allocations: 51.41 kB / 5.66 GB, free: 42.22 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.469e-05/11.32, allocations: 101 kB / 5.66 GB, free: 42.12 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/11.32, allocations: 25.7 kB / 5.66 GB, free: 42.09 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 4.388e-05/11.32, allocations: 91.95 kB / 5.66 GB, free: 41.99 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 5.31e-06/11.32, allocations: 4 kB / 5.66 GB, free: 41.99 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/11.32, allocations: 0 / 5.66 GB, free: 41.99 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.755e-05/11.32, allocations: 314.8 kB / 5.66 GB, free: 41.67 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.516e-05/11.32, allocations: 8 kB / 5.66 GB, free: 41.66 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.932e-05/11.32, allocations: 22.56 kB / 5.66 GB, free: 41.63 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.564e-05/11.32, allocations: 15.98 kB / 5.66 GB, free: 41.62 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/11.32, allocations: 0 / 5.66 GB, free: 41.62 MB / 1.151 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.663e-05/11.32, allocations: 49.64 kB / 5.66 GB, free: 41.56 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/11.32, allocations: 7.953 kB / 5.66 GB, free: 41.55 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/11.32, allocations: 3.938 kB / 5.66 GB, free: 41.55 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/11.32, allocations: 0 / 5.66 GB, free: 41.55 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.421e-05/11.32, allocations: 15.92 kB / 5.66 GB, free: 41.54 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/11.32, allocations: 4.094 kB / 5.66 GB, free: 41.53 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.929e-05/11.32, allocations: 4.156 kB / 5.66 GB, free: 41.53 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.523e-06/11.32, allocations: 4 kB / 5.66 GB, free: 41.52 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 5.598e-05/11.32, allocations: 102.4 kB / 5.66 GB, free: 41.42 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.364e-05/11.32, allocations: 37.7 kB / 5.66 GB, free: 41.38 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.406e-05/11.32, allocations: 3.953 kB / 5.66 GB, free: 41.37 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.447e-05/11.32, allocations: 11.73 kB / 5.66 GB, free: 41.36 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/11.32, allocations: 0 / 5.66 GB, free: 41.36 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/11.32, allocations: 4.031 kB / 5.66 GB, free: 41.36 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/11.32, allocations: 4 kB / 5.66 GB, free: 41.36 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002111/11.32, allocations: 323.2 kB / 5.661 GB, free: 40.99 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/11.32, allocations: 4 kB / 5.661 GB, free: 40.99 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.188e-05/11.32, allocations: 0 / 5.661 GB, free: 40.99 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/11.32, allocations: 0 / 5.661 GB, free: 40.99 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.249e-06/11.32, allocations: 0 / 5.661 GB, free: 40.99 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/11.32, allocations: 0 / 5.661 GB, free: 40.99 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/11.32, allocations: 0 / 5.661 GB, free: 40.99 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.207e-05/11.32, allocations: 65.11 kB / 5.661 GB, free: 40.91 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 3.098e-05/11.32, allocations: 81.02 kB / 5.661 GB, free: 40.81 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/11.32, allocations: 0 / 5.661 GB, free: 40.81 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.598e-05/11.32, allocations: 7.938 kB / 5.661 GB, free: 40.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.931e-05/11.32, allocations: 3.984 kB / 5.661 GB, free: 40.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-06/11.32, allocations: 3.938 kB / 5.661 GB, free: 40.79 MB / 1.151 GB Notification: Performance of sorting global known variables: time 3.347e-05/11.32, allocations: 91.31 kB / 5.661 GB, free: 40.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.7e-07/11.32, allocations: 0 / 5.661 GB, free: 40.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0002711/11.32, allocations: 31.98 kB / 5.661 GB, free: 40.67 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.000771/11.32, allocations: 1.163 MB / 5.662 GB, free: 39.48 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 6.757e-05/11.32, allocations: 15.92 kB / 5.662 GB, free: 39.47 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/11.32, allocations: 0 / 5.662 GB, free: 39.47 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 4.148e-06/11.32, allocations: 4 kB / 5.662 GB, free: 39.46 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001695/11.32, allocations: 8.75 kB / 5.662 GB, free: 39.46 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002645/11.32, allocations: 90.22 kB / 5.662 GB, free: 39.33 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/11.32, allocations: 0.6807 MB / 5.663 GB, free: 38.62 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 5.529e-05/11.32, allocations: 4 kB / 5.663 GB, free: 38.62 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.815e-05/11.32, allocations: 11.44 kB / 5.663 GB, free: 38.61 MB / 1.151 GB Notification: Performance of SimCode: time 2.4e-07/11.32, allocations: 0 / 5.663 GB, free: 38.61 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02175/11.34, allocations: 5.435 MB / 5.668 GB, free: 33.18 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000151/11.34, allocations: 169.7 kB / 5.668 GB, free: 32.99 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.697/13.04, allocations: 1.828 kB / 5.668 GB, free: 32.99 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