Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.749/1.749, allocations: 288.2 MB / 303.2 MB, free: 8.086 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.001299/0.001299, allocations: 175.9 kB / 371.8 MB, free: 10.3 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.613/1.613, allocations: 205.4 MB / 0.6305 GB, free: 10.03 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009093/0.0009094, allocations: 94.81 kB / 0.7439 GB, free: 5.965 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004277/0.0004278, allocations: 11 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2666, allocations: 115.3 MB / 0.9795 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.7374/1.004, allocations: 124.9 MB / 1.101 GB, free: 2.695 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0002181/1.004, allocations: 131.3 kB / 1.102 GB, free: 2.688 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.396e-05/1.004, allocations: 0 / 1.102 GB, free: 2.688 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001175/1.005, allocations: 7.219 kB / 1.102 GB, free: 2.684 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 4.235e-05/1.005, allocations: 10.45 kB / 1.102 GB, free: 2.68 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003916/1.005, allocations: 69.33 kB / 1.102 GB, free: 2.676 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 6.491e-05/1.005, allocations: 20.72 kB / 1.102 GB, free: 2.676 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.902e-05/1.005, allocations: 3.297 kB / 1.102 GB, free: 2.676 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 3.628e-05/1.005, allocations: 9.156 kB / 1.102 GB, free: 2.676 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.106e-05/1.005, allocations: 8.984 kB / 1.102 GB, free: 2.672 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/1.005, allocations: 1.312 kB / 1.102 GB, free: 2.672 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002383/1.005, allocations: 54.34 kB / 1.102 GB, free: 2.668 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 3.233e-05/1.006, allocations: 9.109 kB / 1.102 GB, free: 2.664 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001079/1.006, allocations: 31.02 kB / 1.102 GB, free: 18.63 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001115/1.006, allocations: 29.34 kB / 1.102 GB, free: 18.63 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/1.006, allocations: 0 / 1.102 GB, free: 18.63 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.533e-06/1.006, allocations: 1.219 kB / 1.102 GB, free: 18.63 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.859e-06/1.006, allocations: 0 / 1.102 GB, free: 18.63 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.0003876/1.006, allocations: 332.9 kB / 1.102 GB, free: 18.28 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/1.006, allocations: 8.781 kB / 1.102 GB, free: 18.28 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.152e-05/1.006, allocations: 35.73 kB / 1.102 GB, free: 18.24 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002619/1.007, allocations: 29.53 kB / 1.102 GB, free: 18.23 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/1.007, allocations: 162.7 kB / 1.102 GB, free: 18.04 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.162e-05/1.007, allocations: 27.23 kB / 1.102 GB, free: 18 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/1.007, allocations: 8.281 kB / 1.102 GB, free: 18 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/1.007, allocations: 45.48 kB / 1.102 GB, free: 17.97 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/1.007, allocations: 0 / 1.102 GB, free: 17.97 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/1.007, allocations: 0.875 kB / 1.102 GB, free: 17.97 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.291e-05/1.007, allocations: 10.7 kB / 1.102 GB, free: 17.96 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.946e-05/1.007, allocations: 20.75 kB / 1.102 GB, free: 17.96 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000406/1.008, allocations: 251.7 kB / 1.103 GB, free: 17.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.77e-05/1.008, allocations: 20.42 kB / 1.103 GB, free: 17.67 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.153e-06/1.008, allocations: 0 / 1.103 GB, free: 17.67 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/1.008, allocations: 45.05 kB / 1.103 GB, free: 17.62 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.883e-06/1.008, allocations: 3.938 kB / 1.103 GB, free: 17.62 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001495/1.008, allocations: 32.7 kB / 1.103 GB, free: 17.59 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/1.008, allocations: 52.53 kB / 1.103 GB, free: 17.53 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.448e-05/1.008, allocations: 109.2 kB / 1.103 GB, free: 17.43 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/1.008, allocations: 25.7 kB / 1.103 GB, free: 17.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.669e-05/1.008, allocations: 93.64 kB / 1.103 GB, free: 17.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.651e-06/1.008, allocations: 9.031 kB / 1.103 GB, free: 17.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-06/1.008, allocations: 0 / 1.103 GB, free: 17.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001235/1.008, allocations: 317.1 kB / 1.103 GB, free: 16.98 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.68e-05/1.008, allocations: 3 kB / 1.103 GB, free: 16.98 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.768e-05/1.008, allocations: 23.19 kB / 1.103 GB, free: 16.96 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.683e-05/1.008, allocations: 10.27 kB / 1.103 GB, free: 16.96 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.008, allocations: 4 kB / 1.103 GB, free: 16.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.108e-05/1.008, allocations: 51.61 kB / 1.103 GB, free: 16.92 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/1.008, allocations: 4.656 kB / 1.103 GB, free: 16.92 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/1.008, allocations: 4.859 kB / 1.103 GB, free: 16.92 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/1.008, allocations: 3.25 kB / 1.103 GB, free: 16.92 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.262e-05/1.008, allocations: 10.09 kB / 1.103 GB, free: 16.92 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/1.008, allocations: 1.062 kB / 1.103 GB, free: 16.92 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.49e-05/1.009, allocations: 9.375 kB / 1.103 GB, free: 16.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/1.009, allocations: 1.188 kB / 1.103 GB, free: 16.91 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 () * 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 8.207e-05/1.009, allocations: 119 kB / 1.104 GB, free: 16.79 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.767e-05/1.009, allocations: 2.188 kB / 1.104 GB, free: 16.79 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.023e-05/1.009, allocations: 7.594 kB / 1.104 GB, free: 16.79 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/1.009, allocations: 3.953 kB / 1.104 GB, free: 16.79 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/1.009, allocations: 1.344 kB / 1.104 GB, free: 16.79 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/1.009, allocations: 4.078 kB / 1.104 GB, free: 16.78 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002539/1.009, allocations: 339.5 kB / 1.104 GB, free: 16.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/1.009, allocations: 5.25 kB / 1.104 GB, free: 16.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.559e-05/1.009, allocations: 0.9688 kB / 1.104 GB, free: 16.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/1.009, allocations: 4.891 kB / 1.104 GB, free: 16.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/1.009, allocations: 0 / 1.104 GB, free: 16.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/1.009, allocations: 0.9375 kB / 1.104 GB, free: 16.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/1.009, allocations: 2.203 kB / 1.104 GB, free: 16.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.071e-05/1.009, allocations: 60.75 kB / 1.104 GB, free: 16.33 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.423e-05/1.009, allocations: 84.44 kB / 1.104 GB, free: 16.23 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/1.009, allocations: 8.922 kB / 1.104 GB, free: 16.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.122e-05/1.009, allocations: 9.406 kB / 1.104 GB, free: 16.22 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.178e-05/1.009, allocations: 4.344 kB / 1.104 GB, free: 16.22 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-06/1.009, allocations: 0 / 1.104 GB, free: 16.22 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.647e-05/1.009, allocations: 82.88 kB / 1.104 GB, free: 16.15 MB / 0.698 GB Notification: Performance of sort global known variables: time 3e-07/1.009, allocations: 0 / 1.104 GB, free: 16.15 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001963/1.01, allocations: 12.28 kB / 1.104 GB, free: 16.14 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 () * 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.0003311/1.01, allocations: 0.5936 MB / 1.105 GB, free: 15.55 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.604e-05/1.01, allocations: 14 kB / 1.105 GB, free: 15.55 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/1.01, allocations: 1.094 kB / 1.105 GB, free: 15.55 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.001e-06/1.01, allocations: 1.25 kB / 1.105 GB, free: 15.55 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001868/1.01, allocations: 16.47 kB / 1.105 GB, free: 15.54 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003606/1.011, allocations: 151.7 kB / 1.105 GB, free: 15.39 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/1.011, allocations: 0.6786 MB / 1.106 GB, free: 14.69 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.114e-05/1.011, allocations: 5.656 kB / 1.106 GB, free: 14.69 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.422e-05/1.011, allocations: 12.08 kB / 1.106 GB, free: 14.68 MB / 0.698 GB Notification: Performance of SimCode: time 5.81e-07/1.011, allocations: 4.969 kB / 1.106 GB, free: 14.68 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.546/2.557, allocations: 1.109 MB / 1.107 GB, free: 14.57 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001786/2.558, allocations: 220.4 kB / 1.107 GB, free: 14.34 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.882/4.439, allocations: 0.875 kB / 1.107 GB, free: 14.34 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)