Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.657/2.657, allocations: 287.3 MB / 302.3 MB, free: 8.254 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.001657/0.001657, allocations: 190.9 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.274/2.274, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001182/0.001182, allocations: 96.84 kB / 0.7428 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006417/0.0006422, allocations: 14.31 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.2224, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.8521/1.075, allocations: 124.9 MB / 1.1 GB, free: 1.719 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0002782/1.075, allocations: 123.9 kB / 1.1 GB, free: 1.715 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.882e-05/1.075, allocations: 0 / 1.1 GB, free: 1.715 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001143/1.075, allocations: 10.73 kB / 1.1 GB, free: 1.711 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 4.293e-05/1.075, allocations: 6.75 kB / 1.1 GB, free: 1.711 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004111/1.076, allocations: 67.69 kB / 1.1 GB, free: 1.707 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 6.95e-05/1.076, allocations: 25.47 kB / 1.1 GB, free: 1.703 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 5.122e-05/1.076, allocations: 2.172 kB / 1.1 GB, free: 1.703 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 4.041e-05/1.076, allocations: 7.172 kB / 1.1 GB, free: 1.703 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.063e-05/1.076, allocations: 13.81 kB / 1.101 GB, free: 1.699 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/1.076, allocations: 1 kB / 1.101 GB, free: 1.699 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002732/1.076, allocations: 51.42 kB / 1.101 GB, free: 1.695 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 3.489e-05/1.076, allocations: 5.203 kB / 1.101 GB, free: 1.695 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 9.317e-05/1.076, allocations: 28.67 kB / 1.101 GB, free: 17.66 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001381/1.076, allocations: 33.5 kB / 1.101 GB, free: 17.66 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/1.076, allocations: 0 / 1.101 GB, free: 17.66 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.746e-06/1.076, allocations: 4 kB / 1.101 GB, free: 17.66 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.84e-06/1.076, allocations: 1.859 kB / 1.101 GB, free: 17.66 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.0004403/1.077, allocations: 336 kB / 1.101 GB, free: 17.31 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/1.077, allocations: 9.844 kB / 1.101 GB, free: 17.31 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.783e-05/1.077, allocations: 34.52 kB / 1.101 GB, free: 17.27 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003188/1.077, allocations: 24.94 kB / 1.101 GB, free: 17.26 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/1.077, allocations: 164 kB / 1.101 GB, free: 17.06 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.891e-05/1.078, allocations: 36.14 kB / 1.101 GB, free: 17.02 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/1.078, allocations: 1.062 kB / 1.101 GB, free: 17.02 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/1.078, allocations: 45.59 kB / 1.101 GB, free: 16.99 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/1.078, allocations: 0 / 1.101 GB, free: 16.99 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/1.078, allocations: 7.141 kB / 1.101 GB, free: 16.99 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.229e-05/1.078, allocations: 4.75 kB / 1.101 GB, free: 16.99 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.567e-05/1.078, allocations: 18.94 kB / 1.101 GB, free: 16.99 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004555/1.078, allocations: 256.4 kB / 1.102 GB, free: 16.72 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.075e-05/1.078, allocations: 21.88 kB / 1.102 GB, free: 16.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.049e-05/1.079, allocations: 3.953 kB / 1.102 GB, free: 16.69 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/1.079, allocations: 32.19 kB / 1.102 GB, free: 16.65 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 2.074e-06/1.079, allocations: 3.984 kB / 1.102 GB, free: 16.65 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001526/1.079, allocations: 41.64 kB / 1.102 GB, free: 16.61 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/1.079, allocations: 51.41 kB / 1.102 GB, free: 16.55 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.817e-05/1.079, allocations: 104.3 kB / 1.102 GB, free: 16.45 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/1.079, allocations: 31.02 kB / 1.102 GB, free: 16.42 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.757e-05/1.079, allocations: 96.8 kB / 1.102 GB, free: 16.32 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.751e-06/1.079, allocations: 0 / 1.102 GB, free: 16.32 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.479e-06/1.079, allocations: 1.25 kB / 1.102 GB, free: 16.32 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001285/1.079, allocations: 316.6 kB / 1.102 GB, free: 16.01 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.16e-05/1.079, allocations: 3.781 kB / 1.102 GB, free: 16.01 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.435e-05/1.079, allocations: 27.09 kB / 1.102 GB, free: 15.98 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.305e-05/1.079, allocations: 7.25 kB / 1.102 GB, free: 15.98 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/1.079, allocations: 1.344 kB / 1.102 GB, free: 15.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001126/1.079, allocations: 54.17 kB / 1.102 GB, free: 15.95 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/1.079, allocations: 9.297 kB / 1.102 GB, free: 15.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/1.079, allocations: 5.594 kB / 1.102 GB, free: 15.94 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/1.079, allocations: 0 / 1.102 GB, free: 15.94 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.718e-05/1.08, allocations: 9.562 kB / 1.102 GB, free: 15.94 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/1.08, allocations: 1.375 kB / 1.102 GB, free: 15.94 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.985e-05/1.08, allocations: 5.281 kB / 1.102 GB, free: 15.94 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/1.08, allocations: 6.688 kB / 1.102 GB, free: 15.94 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 9.363e-05/1.08, allocations: 112.5 kB / 1.102 GB, free: 15.82 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.1e-05/1.08, allocations: 1.375 kB / 1.102 GB, free: 15.82 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.399e-05/1.08, allocations: 10.05 kB / 1.102 GB, free: 15.81 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/1.08, allocations: 4 kB / 1.102 GB, free: 15.81 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.84e-06/1.08, allocations: 0 / 1.102 GB, free: 15.81 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/1.08, allocations: 0 / 1.102 GB, free: 15.81 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003217/1.08, allocations: 342.3 kB / 1.103 GB, free: 15.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/1.08, allocations: 5.328 kB / 1.103 GB, free: 15.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.289e-05/1.08, allocations: 3.672 kB / 1.103 GB, free: 15.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/1.08, allocations: 5.688 kB / 1.103 GB, free: 15.43 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/1.08, allocations: 0 / 1.103 GB, free: 15.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/1.08, allocations: 1.375 kB / 1.103 GB, free: 15.43 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/1.08, allocations: 7.969 kB / 1.103 GB, free: 15.42 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.723e-05/1.08, allocations: 56.8 kB / 1.103 GB, free: 15.36 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.167e-05/1.08, allocations: 86.34 kB / 1.103 GB, free: 15.25 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.125e-05/1.08, allocations: 3.938 kB / 1.103 GB, free: 15.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/1.081, allocations: 6.328 kB / 1.103 GB, free: 15.25 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.746e-05/1.081, allocations: 0 / 1.103 GB, free: 15.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-06/1.081, allocations: 5.406 kB / 1.103 GB, free: 15.25 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.91e-05/1.081, allocations: 85.94 kB / 1.103 GB, free: 15.18 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.71e-07/1.081, allocations: 0 / 1.103 GB, free: 15.18 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002634/1.081, allocations: 6.875 kB / 1.103 GB, free: 15.18 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.0004144/1.081, allocations: 0.5947 MB / 1.104 GB, free: 14.58 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.112e-05/1.082, allocations: 17.12 kB / 1.104 GB, free: 14.57 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/1.082, allocations: 0 / 1.104 GB, free: 14.57 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.127e-05/1.082, allocations: 8.438 kB / 1.104 GB, free: 14.57 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002047/1.082, allocations: 6.875 kB / 1.104 GB, free: 14.57 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003997/1.082, allocations: 149.4 kB / 1.104 GB, free: 14.43 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002904/1.083, allocations: 0.6837 MB / 1.104 GB, free: 13.73 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.381e-05/1.083, allocations: 2.75 kB / 1.104 GB, free: 13.73 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.523e-05/1.083, allocations: 8.812 kB / 1.104 GB, free: 13.72 MB / 0.698 GB Notification: Performance of SimCode: time 6.31e-07/1.083, allocations: 1.969 kB / 1.104 GB, free: 13.72 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0222/1.105, allocations: 1.105 MB / 1.106 GB, free: 13.59 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002903/1.105, allocations: 218.4 kB / 1.106 GB, free: 13.35 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.297/3.403, allocations: 0 / 1.106 GB, free: 13.35 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)