Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.924/1.924, allocations: 292.6 MB / 307.5 MB, free: 5.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001127/0.001127, allocations: 185 kB / 377.1 MB, free: 1.52 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.542/1.542, allocations: 205.4 MB / 0.6366 GB, free: 8.629 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008829/0.0008828, allocations: 88.67 kB / 0.7509 GB, free: 63.25 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003965/0.0003968, allocations: 8 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2676/0.268, allocations: 116.3 MB / 0.9884 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 11.59/11.86, allocations: 4.612 GB / 5.6 GB, free: 185.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/11.86, allocations: 84.61 kB / 5.6 GB, free: 185.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.07846/11.94, allocations: 45.24 MB / 5.645 GB, free: 139.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.865e-06/11.94, allocations: 4 kB / 5.645 GB, free: 139.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.745e-06/11.94, allocations: 0 / 5.645 GB, free: 139.4 MB / 0.948 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.0002936/11.94, allocations: 344.1 kB / 5.645 GB, free: 139 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/11.94, allocations: 8.031 kB / 5.645 GB, free: 139 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.965e-05/11.94, allocations: 30.56 kB / 5.645 GB, free: 139 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001838/11.94, allocations: 20.77 kB / 5.645 GB, free: 138.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.798e-05/11.94, allocations: 171 kB / 5.645 GB, free: 138.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.361e-05/11.94, allocations: 25.7 kB / 5.645 GB, free: 138.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.488e-06/11.94, allocations: 7.984 kB / 5.645 GB, free: 138.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/11.94, allocations: 50.23 kB / 5.645 GB, free: 138.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/11.94, allocations: 0 / 5.645 GB, free: 138.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/11.94, allocations: 0 / 5.645 GB, free: 138.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.679e-05/11.94, allocations: 11.94 kB / 5.645 GB, free: 138.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.68e-05/11.94, allocations: 15.98 kB / 5.645 GB, free: 138.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003032/11.94, allocations: 256.9 kB / 5.646 GB, free: 138.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.155e-05/11.94, allocations: 18.58 kB / 5.646 GB, free: 138.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.699e-06/11.94, allocations: 0.5625 kB / 5.646 GB, free: 138.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.356e-05/11.94, allocations: 38.56 kB / 5.646 GB, free: 138.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/11.94, allocations: 0 / 5.646 GB, free: 138.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=1): time 0.0001147/11.94, allocations: 41.69 kB / 5.646 GB, free: 138.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.877e-05/11.94, allocations: 51.41 kB / 5.646 GB, free: 138.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.27e-05/11.94, allocations: 97 kB / 5.646 GB, free: 138 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.526e-06/11.94, allocations: 26.83 kB / 5.646 GB, free: 138 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.801e-05/11.94, allocations: 95.94 kB / 5.646 GB, free: 137.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.039e-06/11.94, allocations: 3.938 kB / 5.646 GB, free: 137.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-06/11.94, allocations: 4.125 kB / 5.646 GB, free: 137.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 4.657e-05/11.94, allocations: 315.2 kB / 5.646 GB, free: 137.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.327e-05/11.94, allocations: 4 kB / 5.646 GB, free: 137.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.231e-05/11.94, allocations: 26.56 kB / 5.646 GB, free: 137.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.109e-05/11.94, allocations: 7.938 kB / 5.646 GB, free: 137.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/11.94, allocations: 0 / 5.646 GB, free: 137.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.871e-05/11.94, allocations: 65.58 kB / 5.646 GB, free: 137.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/11.94, allocations: 4 kB / 5.646 GB, free: 137.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/11.94, allocations: 0 / 5.646 GB, free: 137.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/11.94, allocations: 4.938 kB / 5.646 GB, free: 137.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.428e-05/11.94, allocations: 4 kB / 5.646 GB, free: 137.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/11.94, allocations: 0 / 5.646 GB, free: 137.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.394e-05/11.94, allocations: 7.906 kB / 5.646 GB, free: 137.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/11.94, allocations: 0 / 5.646 GB, free: 137.4 MB / 0.948 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 4.853e-05/11.94, allocations: 117.9 kB / 5.646 GB, free: 137.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/11.94, allocations: 3.953 kB / 5.646 GB, free: 137.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.667e-05/11.94, allocations: 11.12 kB / 5.646 GB, free: 137.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/11.94, allocations: 0 / 5.646 GB, free: 137.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/11.94, allocations: 3.938 kB / 5.646 GB, free: 137.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/11.94, allocations: 0.75 kB / 5.646 GB, free: 137.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001674/11.94, allocations: 346.7 kB / 5.647 GB, free: 136.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/11.94, allocations: 96 / 5.647 GB, free: 136.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.419e-05/11.94, allocations: 3.984 kB / 5.647 GB, free: 136.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/11.94, allocations: 8.016 kB / 5.647 GB, free: 136.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-06/11.94, allocations: 4 kB / 5.647 GB, free: 136.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/11.94, allocations: 0 / 5.647 GB, free: 136.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/11.94, allocations: 0 / 5.647 GB, free: 136.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.457e-05/11.94, allocations: 61.97 kB / 5.647 GB, free: 136.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.815e-05/11.94, allocations: 81.11 kB / 5.647 GB, free: 136.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/11.94, allocations: 3.984 kB / 5.647 GB, free: 136.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.29e-05/11.94, allocations: 8.031 kB / 5.647 GB, free: 136.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.341e-05/11.94, allocations: 0 / 5.647 GB, free: 136.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-06/11.94, allocations: 0 / 5.647 GB, free: 136.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.81e-05/11.94, allocations: 87.52 kB / 5.647 GB, free: 136.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/11.94, allocations: 0 / 5.647 GB, free: 136.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002782/11.94, allocations: 40 kB / 5.647 GB, free: 136.6 MB / 0.948 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.0006452/11.94, allocations: 1.069 MB / 5.648 GB, free: 135.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 6.443e-05/11.94, allocations: 11.94 kB / 5.648 GB, free: 135.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/11.94, allocations: 8.188 kB / 5.648 GB, free: 135.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.53e-06/11.94, allocations: 3.984 kB / 5.648 GB, free: 135.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001196/11.94, allocations: 8 kB / 5.648 GB, free: 135.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002891/11.94, allocations: 143.8 kB / 5.648 GB, free: 135.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.717e-05/11.94, allocations: 0.6848 MB / 5.649 GB, free: 134.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 5.202e-05/11.94, allocations: 11.98 kB / 5.649 GB, free: 134.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.459e-05/11.94, allocations: 11.44 kB / 5.649 GB, free: 134.5 MB / 0.948 GB Notification: Performance of SimCode: time 2.91e-07/11.94, allocations: 0 / 5.649 GB, free: 134.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02135/11.97, allocations: 10.51 MB / 5.659 GB, free: 124.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002207/11.97, allocations: 211 kB / 5.659 GB, free: 123.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.955/13.92, allocations: 4 kB / 5.659 GB, free: 123.9 MB / 0.948 GB (rm -f Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)