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.705/1.705, allocations: 288.4 MB / 303.3 MB, free: 8.113 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.001128/0.001128, allocations: 179.3 kB / 372 MB, free: 10.27 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.733/1.733, allocations: 205.4 MB / 0.6307 GB, free: 9.965 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.001257/0.001257, allocations: 94.3 kB / 0.744 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004048/0.0004048, allocations: 11.09 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2237, allocations: 115.3 MB / 0.9796 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.6876/0.9114, allocations: 134 MB / 1.111 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0001314/0.9115, allocations: 43.77 kB / 1.111 GB, free: 2.629 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.008e-05/0.9116, allocations: 1.562 kB / 1.111 GB, free: 2.629 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001155/0.9117, allocations: 7.375 kB / 1.111 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 8.435e-05/0.9118, allocations: 21.17 kB / 1.111 GB, free: 2.613 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.000387/0.9122, allocations: 73.47 kB / 1.111 GB, free: 2.605 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 9.44e-05/0.9123, allocations: 44.23 kB / 1.111 GB, free: 2.598 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 5.146e-05/0.9124, allocations: 4.047 kB / 1.111 GB, free: 2.598 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 3.933e-05/0.9124, allocations: 9.047 kB / 1.111 GB, free: 2.598 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 8.045e-05/0.9125, allocations: 19.69 kB / 1.111 GB, free: 2.594 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.9125, allocations: 1.125 kB / 1.111 GB, free: 2.594 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002167/0.9127, allocations: 43.83 kB / 1.111 GB, free: 2.586 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 3.694e-05/0.9128, allocations: 13.61 kB / 1.111 GB, free: 2.578 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.9129, allocations: 28.27 kB / 1.111 GB, free: 18.55 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001501/0.9131, allocations: 41.44 kB / 1.111 GB, free: 18.54 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.9131, allocations: 0 / 1.111 GB, free: 18.54 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.863e-06/0.9131, allocations: 0 / 1.111 GB, free: 18.54 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.9131, allocations: 0 / 1.111 GB, free: 18.54 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.0004356/0.9135, allocations: 329 kB / 1.111 GB, free: 18.19 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.625e-05/0.9136, allocations: 9.812 kB / 1.111 GB, free: 18.19 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.975e-05/0.9137, allocations: 32.25 kB / 1.111 GB, free: 18.15 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002628/0.9139, allocations: 29.52 kB / 1.111 GB, free: 18.14 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.9141, allocations: 161.5 kB / 1.111 GB, free: 17.95 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.144e-05/0.9142, allocations: 33.02 kB / 1.111 GB, free: 17.91 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.9142, allocations: 0.5625 kB / 1.111 GB, free: 17.91 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.9144, allocations: 49.27 kB / 1.111 GB, free: 17.88 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.9144, allocations: 0 / 1.111 GB, free: 17.88 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.9144, allocations: 6.094 kB / 1.111 GB, free: 17.88 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.254e-05/0.9144, allocations: 11.53 kB / 1.112 GB, free: 17.87 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.192e-05/0.9145, allocations: 15.89 kB / 1.112 GB, free: 17.87 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004219/0.9149, allocations: 253.1 kB / 1.112 GB, free: 17.61 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.704e-05/0.915, allocations: 19.64 kB / 1.112 GB, free: 17.58 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.104e-05/0.915, allocations: 10.84 kB / 1.112 GB, free: 17.57 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.915, allocations: 4 kB / 1.112 GB, free: 17.57 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.9151, allocations: 36.95 kB / 1.112 GB, free: 17.53 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.9151, allocations: 0 / 1.112 GB, free: 17.53 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001492/0.9152, allocations: 34.48 kB / 1.112 GB, free: 17.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.026e-05/0.9153, allocations: 56.69 kB / 1.112 GB, free: 17.43 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.867e-05/0.9154, allocations: 103.5 kB / 1.112 GB, free: 17.33 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.9154, allocations: 27.3 kB / 1.112 GB, free: 17.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.478e-05/0.9155, allocations: 97.31 kB / 1.112 GB, free: 17.21 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.031e-06/0.9155, allocations: 6.359 kB / 1.112 GB, free: 17.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.297e-06/0.9155, allocations: 1.094 kB / 1.112 GB, free: 17.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.9156, allocations: 312.8 kB / 1.112 GB, free: 16.89 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.932e-05/0.9156, allocations: 7.234 kB / 1.112 GB, free: 16.89 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.638e-05/0.9157, allocations: 24.42 kB / 1.112 GB, free: 16.86 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.762e-05/0.9157, allocations: 9.25 kB / 1.112 GB, free: 16.86 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.9157, allocations: 4 kB / 1.112 GB, free: 16.86 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.233e-05/0.9158, allocations: 55.39 kB / 1.113 GB, free: 16.82 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.9158, allocations: 8.391 kB / 1.113 GB, free: 16.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.9159, allocations: 1.094 kB / 1.113 GB, free: 16.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.9159, allocations: 1.703 kB / 1.113 GB, free: 16.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.258e-05/0.9159, allocations: 6.516 kB / 1.113 GB, free: 16.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.916, allocations: 5.094 kB / 1.113 GB, free: 16.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.811e-05/0.916, allocations: 10.41 kB / 1.113 GB, free: 16.81 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-06/0.916, allocations: 2.406 kB / 1.113 GB, free: 16.81 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 0.0001084/0.9161, allocations: 115 kB / 1.113 GB, free: 16.69 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.525e-05/0.9162, allocations: 4.328 kB / 1.113 GB, free: 16.69 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.463e-05/0.9162, allocations: 8.688 kB / 1.113 GB, free: 16.68 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.9162, allocations: 1.156 kB / 1.113 GB, free: 16.68 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.9162, allocations: 0 / 1.113 GB, free: 16.68 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.9162, allocations: 0.5625 kB / 1.113 GB, free: 16.68 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002726/0.9165, allocations: 343.8 kB / 1.113 GB, free: 16.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.9165, allocations: 1.031 kB / 1.113 GB, free: 16.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.548e-05/0.9165, allocations: 6.062 kB / 1.113 GB, free: 16.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.9165, allocations: 0 / 1.113 GB, free: 16.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.9166, allocations: 5.766 kB / 1.113 GB, free: 16.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.9166, allocations: 4 kB / 1.113 GB, free: 16.29 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.9166, allocations: 1 kB / 1.113 GB, free: 16.29 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.802e-05/0.9166, allocations: 56.39 kB / 1.113 GB, free: 16.23 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.891e-05/0.9167, allocations: 87.31 kB / 1.113 GB, free: 16.13 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.9167, allocations: 4.984 kB / 1.113 GB, free: 16.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.335e-05/0.9168, allocations: 8.391 kB / 1.113 GB, free: 16.12 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.884e-05/0.9168, allocations: 1.906 kB / 1.113 GB, free: 16.12 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-06/0.9168, allocations: 1.75 kB / 1.113 GB, free: 16.12 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.231e-05/0.9169, allocations: 81.62 kB / 1.113 GB, free: 16.05 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9169, allocations: 1.031 kB / 1.113 GB, free: 16.05 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002111/0.9171, allocations: 9.688 kB / 1.113 GB, free: 16.05 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.0003969/0.9175, allocations: 0.5944 MB / 1.114 GB, free: 15.45 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001014/0.9176, allocations: 13.78 kB / 1.114 GB, free: 15.45 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.9176, allocations: 0 / 1.114 GB, free: 15.45 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.105e-06/0.9177, allocations: 6.156 kB / 1.114 GB, free: 15.45 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002294/0.9179, allocations: 15.72 kB / 1.114 GB, free: 15.44 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003665/0.9183, allocations: 146.9 kB / 1.114 GB, free: 15.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/0.9186, allocations: 0.673 MB / 1.115 GB, free: 14.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.576e-05/0.9186, allocations: 6.578 kB / 1.115 GB, free: 14.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.337e-05/0.9187, allocations: 16.03 kB / 1.115 GB, free: 14.59 MB / 0.698 GB Notification: Performance of SimCode: time 2.21e-07/0.9187, allocations: 0 / 1.115 GB, free: 14.59 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0124/0.9311, allocations: 1.13 MB / 1.116 GB, free: 14.48 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001771/0.9313, allocations: 230.5 kB / 1.116 GB, free: 14.24 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.565/2.496, allocations: 0 / 1.116 GB, free: 14.24 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)