Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7958/0.7958, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 182.9 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 221.3 MB / 441.4 MB, free: 4.598 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009567/0.0009568, allocations: 93.11 kB / 0.5124 GB, free: 24.31 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001936/0.001937, allocations: 274.6 kB / 0.5939 GB, free: 7.941 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.003e-05/4.005e-05, allocations: 4 kB / 0.6835 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4757/0.4758, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 11.17/11.64, allocations: 4.368 GB / 5.133 GB, free: 129.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003117/11.64, allocations: 81.33 kB / 5.133 GB, free: 129.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.08017/11.72, allocations: 47.04 MB / 5.179 GB, free: 81.48 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.853e-06/11.72, allocations: 0 / 5.179 GB, free: 81.48 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.035e-06/11.72, allocations: 0 / 5.179 GB, free: 81.48 MB / 0.698 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.0002781/11.72, allocations: 334.5 kB / 5.179 GB, free: 81.11 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/11.72, allocations: 12.03 kB / 5.179 GB, free: 81.1 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.848e-05/11.72, allocations: 34.52 kB / 5.179 GB, free: 81.06 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000178/11.72, allocations: 19.98 kB / 5.179 GB, free: 81.04 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.535e-05/11.72, allocations: 167 kB / 5.179 GB, free: 80.84 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.121e-05/11.72, allocations: 29.7 kB / 5.179 GB, free: 80.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/11.72, allocations: 4 kB / 5.179 GB, free: 80.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/11.72, allocations: 41.62 kB / 5.179 GB, free: 80.75 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/11.72, allocations: 4 kB / 5.179 GB, free: 80.75 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/11.72, allocations: 3.953 kB / 5.179 GB, free: 80.74 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.68e-05/11.72, allocations: 4 kB / 5.179 GB, free: 80.74 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.026e-05/11.72, allocations: 15.98 kB / 5.179 GB, free: 80.72 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003297/11.72, allocations: 268.8 kB / 5.179 GB, free: 80.41 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.246e-05/11.72, allocations: 18.64 kB / 5.18 GB, free: 80.38 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.564e-05/11.72, allocations: 12.81 kB / 5.18 GB, free: 80.37 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.33e-06/11.72, allocations: 0 / 5.18 GB, free: 80.37 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.769e-05/11.72, allocations: 34.56 kB / 5.18 GB, free: 80.32 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/11.72, allocations: 0 / 5.18 GB, free: 80.32 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001163/11.72, allocations: 33.64 kB / 5.18 GB, free: 80.29 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.209e-05/11.72, allocations: 55.41 kB / 5.18 GB, free: 80.22 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.792e-05/11.72, allocations: 100.9 kB / 5.18 GB, free: 80.11 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/11.72, allocations: 29.7 kB / 5.18 GB, free: 80.08 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.771e-05/11.72, allocations: 92.03 kB / 5.18 GB, free: 79.98 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.741e-06/11.72, allocations: 3.906 kB / 5.18 GB, free: 79.98 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-06/11.72, allocations: 4.031 kB / 5.18 GB, free: 79.98 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.888e-05/11.72, allocations: 318.8 kB / 5.18 GB, free: 79.66 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.253e-05/11.72, allocations: 0 / 5.18 GB, free: 79.66 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.145e-05/11.72, allocations: 26.58 kB / 5.18 GB, free: 79.62 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.88e-05/11.72, allocations: 4 kB / 5.18 GB, free: 79.62 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/11.72, allocations: 0 / 5.18 GB, free: 79.62 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.255e-05/11.72, allocations: 57.62 kB / 5.18 GB, free: 79.55 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/11.72, allocations: 9.203 kB / 5.18 GB, free: 79.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/11.72, allocations: 4.25 kB / 5.18 GB, free: 79.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/11.72, allocations: 0 / 5.18 GB, free: 79.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.935e-05/11.72, allocations: 11.98 kB / 5.18 GB, free: 79.53 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/11.72, allocations: 7.938 kB / 5.18 GB, free: 79.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.416e-05/11.72, allocations: 0 / 5.18 GB, free: 79.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/11.72, allocations: 4 kB / 5.18 GB, free: 79.52 MB / 0.698 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.838e-05/11.72, allocations: 109.1 kB / 5.18 GB, free: 79.41 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.304e-05/11.72, allocations: 3.906 kB / 5.18 GB, free: 79.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.067e-05/11.72, allocations: 11.08 kB / 5.18 GB, free: 79.39 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.32e-07/11.72, allocations: 3.938 kB / 5.18 GB, free: 79.39 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/11.72, allocations: 0 / 5.18 GB, free: 79.39 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/11.72, allocations: 0 / 5.18 GB, free: 79.39 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/11.72, allocations: 342.8 kB / 5.181 GB, free: 79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/11.72, allocations: 3.953 kB / 5.181 GB, free: 78.99 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.221e-05/11.72, allocations: 7.969 kB / 5.181 GB, free: 78.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/11.72, allocations: 4.094 kB / 5.181 GB, free: 78.98 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/11.72, allocations: 3.984 kB / 5.181 GB, free: 78.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/11.72, allocations: 0 / 5.181 GB, free: 78.98 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/11.72, allocations: 0 / 5.181 GB, free: 78.98 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.619e-05/11.72, allocations: 57.14 kB / 5.181 GB, free: 78.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.157e-05/11.72, allocations: 85.05 kB / 5.181 GB, free: 78.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/11.72, allocations: 0 / 5.181 GB, free: 78.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.781e-05/11.72, allocations: 11.97 kB / 5.181 GB, free: 78.79 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.085e-05/11.72, allocations: 0 / 5.181 GB, free: 78.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-06/11.72, allocations: 0 / 5.181 GB, free: 78.79 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.948e-05/11.72, allocations: 91.27 kB / 5.181 GB, free: 78.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/11.72, allocations: 0 / 5.181 GB, free: 78.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000285/11.73, allocations: 36 kB / 5.181 GB, free: 78.66 MB / 0.698 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.0006708/11.73, allocations: 1.063 MB / 5.182 GB, free: 77.57 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.686e-05/11.73, allocations: 12 kB / 5.182 GB, free: 77.56 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/11.73, allocations: 0 / 5.182 GB, free: 77.56 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.119e-06/11.73, allocations: 7.938 kB / 5.182 GB, free: 77.55 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001428/11.73, allocations: 8.594 kB / 5.182 GB, free: 77.55 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000231/11.73, allocations: 90.58 kB / 5.182 GB, free: 77.42 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001144/11.73, allocations: 0.6809 MB / 5.183 GB, free: 76.71 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.096e-05/11.73, allocations: 8.25 kB / 5.183 GB, free: 76.71 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.74e-05/11.73, allocations: 17.97 kB / 5.183 GB, free: 76.69 MB / 0.698 GB Notification: Performance of SimCode: time 3.31e-07/11.73, allocations: 0 / 5.183 GB, free: 76.69 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02207/11.75, allocations: 12.39 MB / 5.195 GB, free: 64.44 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001528/11.75, allocations: 189.8 kB / 5.195 GB, free: 64.22 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.061/13.81, allocations: 0 / 5.195 GB, free: 64.22 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)