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/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 99.62 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00213/0.00213, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.429/2.429, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.867/2.867, allocations: 292.6 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009543/0.0009545, allocations: 17.41 kB / 0.6737 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.465/0.4659, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 1.288/1.754, allocations: 124.9 MB / 0.9092 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005083/1.755, allocations: 135.4 kB / 0.9093 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.307e-05/1.755, allocations: 2.062 kB / 0.9093 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002119/1.755, allocations: 3.625 kB / 0.9093 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.479e-05/1.755, allocations: 8.406 kB / 0.9093 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006171/1.756, allocations: 72.11 kB / 0.9094 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001219/1.756, allocations: 16.95 kB / 0.9094 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.658e-05/1.756, allocations: 2.016 kB / 0.9094 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.098e-05/1.756, allocations: 15.2 kB / 0.9094 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.608e-05/1.756, allocations: 8.141 kB / 0.9094 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/1.756, allocations: 4.938 kB / 0.9095 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003836/1.757, allocations: 49.67 kB / 0.9095 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.117e-05/1.757, allocations: 7.484 kB / 0.9095 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004355/1.757, allocations: 27.77 kB / 0.9095 GB, free: 22 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001914/1.758, allocations: 35.88 kB / 0.9096 GB, free: 22 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/1.758, allocations: 0 / 0.9096 GB, free: 22 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.066e-06/1.758, allocations: 0 / 0.9096 GB, free: 22 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.69e-06/1.758, allocations: 0.7812 kB / 0.9096 GB, free: 22 MB / 0.7325 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.000619/1.758, allocations: 337.2 kB / 0.9099 GB, free: 21.65 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.119e-05/1.758, allocations: 8.625 kB / 0.9099 GB, free: 21.65 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.861e-05/1.758, allocations: 34.66 kB / 0.9099 GB, free: 21.61 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003965/1.759, allocations: 27.41 kB / 0.91 GB, free: 21.6 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/1.759, allocations: 161.3 kB / 0.9101 GB, free: 21.41 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.994e-05/1.759, allocations: 29.27 kB / 0.9101 GB, free: 21.38 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/1.759, allocations: 1.438 kB / 0.9101 GB, free: 21.38 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002421/1.759, allocations: 54.08 kB / 0.9102 GB, free: 21.34 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/1.759, allocations: 0 / 0.9102 GB, free: 21.34 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/1.759, allocations: 1.719 kB / 0.9102 GB, free: 21.34 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.866e-05/1.759, allocations: 6.172 kB / 0.9102 GB, free: 21.34 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/1.76, allocations: 18.75 kB / 0.9102 GB, free: 21.34 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000663/1.76, allocations: 250.9 kB / 0.9105 GB, free: 21.07 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.289e-05/1.76, allocations: 25.61 kB / 0.9105 GB, free: 21.05 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/1.76, allocations: 0.9375 kB / 0.9105 GB, free: 21.05 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.133e-05/1.76, allocations: 36.8 kB / 0.9105 GB, free: 21 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 1.242e-06/1.76, allocations: 0 / 0.9105 GB, free: 21 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0002167/1.761, allocations: 35.98 kB / 0.9105 GB, free: 20.97 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.958e-05/1.761, allocations: 52.47 kB / 0.9106 GB, free: 20.91 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/1.761, allocations: 104.7 kB / 0.9107 GB, free: 20.81 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/1.761, allocations: 32.19 kB / 0.9107 GB, free: 20.78 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.622e-05/1.761, allocations: 95.69 kB / 0.9108 GB, free: 20.68 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.551e-05/1.761, allocations: 6.766 kB / 0.9108 GB, free: 20.68 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.212e-06/1.761, allocations: 2.734 kB / 0.9108 GB, free: 20.68 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002007/1.761, allocations: 316.3 kB / 0.9111 GB, free: 20.37 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.771e-05/1.761, allocations: 4.609 kB / 0.9111 GB, free: 20.37 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.076e-05/1.761, allocations: 26.5 kB / 0.9112 GB, free: 20.34 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.571e-05/1.761, allocations: 11.27 kB / 0.9112 GB, free: 20.34 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/1.761, allocations: 0 / 0.9112 GB, free: 20.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001517/1.762, allocations: 54.92 kB / 0.9112 GB, free: 20.31 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.897e-05/1.762, allocations: 5.031 kB / 0.9112 GB, free: 20.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/1.762, allocations: 5.469 kB / 0.9112 GB, free: 20.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/1.762, allocations: 4.156 kB / 0.9112 GB, free: 20.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.945e-05/1.762, allocations: 6.328 kB / 0.9112 GB, free: 20.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.978e-06/1.762, allocations: 2.016 kB / 0.9112 GB, free: 20.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.009e-05/1.762, allocations: 10.12 kB / 0.9113 GB, free: 20.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/1.762, allocations: 2.766 kB / 0.9113 GB, free: 20.3 MB / 0.7325 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 0.000128/1.762, allocations: 109.2 kB / 0.9114 GB, free: 20.18 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.667e-05/1.762, allocations: 2.984 kB / 0.9114 GB, free: 20.18 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.9e-05/1.762, allocations: 6.375 kB / 0.9114 GB, free: 20.18 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/1.762, allocations: 6.078 kB / 0.9114 GB, free: 20.17 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/1.762, allocations: 0.6562 kB / 0.9114 GB, free: 20.17 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/1.762, allocations: 0 / 0.9114 GB, free: 20.17 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004142/1.763, allocations: 348.6 kB / 0.9117 GB, free: 19.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/1.763, allocations: 0.6875 kB / 0.9117 GB, free: 19.79 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.16e-05/1.763, allocations: 2.516 kB / 0.9117 GB, free: 19.79 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.329e-06/1.763, allocations: 3.953 kB / 0.9117 GB, free: 19.79 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/1.763, allocations: 0.7812 kB / 0.9117 GB, free: 19.79 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.339e-06/1.763, allocations: 3.406 kB / 0.9117 GB, free: 19.79 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/1.763, allocations: 3.516 kB / 0.9117 GB, free: 19.79 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001158/1.763, allocations: 60.67 kB / 0.9118 GB, free: 19.72 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.767e-05/1.763, allocations: 83.23 kB / 0.9119 GB, free: 19.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.856e-05/1.763, allocations: 5.688 kB / 0.9119 GB, free: 19.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/1.763, allocations: 5.094 kB / 0.9119 GB, free: 19.62 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.839e-05/1.763, allocations: 1.438 kB / 0.9119 GB, free: 19.62 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/1.763, allocations: 1.75 kB / 0.9119 GB, free: 19.62 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.275e-05/1.763, allocations: 84.8 kB / 0.912 GB, free: 19.55 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.455e-06/1.763, allocations: 1.906 kB / 0.912 GB, free: 19.55 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003129/1.763, allocations: 11.62 kB / 0.912 GB, free: 19.54 MB / 0.7325 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.000546/1.764, allocations: 0.5886 MB / 0.9125 GB, free: 18.96 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001397/1.764, allocations: 15.19 kB / 0.9126 GB, free: 18.96 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/1.764, allocations: 1.156 kB / 0.9126 GB, free: 18.96 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.193e-05/1.764, allocations: 12.53 kB / 0.9126 GB, free: 18.95 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/1.765, allocations: 12.19 kB / 0.9126 GB, free: 18.95 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005691/1.765, allocations: 151.7 kB / 0.9127 GB, free: 18.8 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004122/1.766, allocations: 0.678 MB / 0.9134 GB, free: 18.1 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.934e-05/1.766, allocations: 12.27 kB / 0.9134 GB, free: 18.1 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.309e-05/1.766, allocations: 10.56 kB / 0.9134 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of SimCode: time 3.21e-07/1.766, allocations: 0 / 0.9134 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01895/1.785, allocations: 1.095 MB / 0.9145 GB, free: 17.98 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003502/1.785, allocations: 221.5 kB / 0.9147 GB, free: 17.73 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.794/4.579, allocations: 4 kB / 0.9147 GB, free: 17.73 MB / 0.7325 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) Environment - environmentSimulation: