Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.407/1.407, allocations: 252 MB / 267 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009484/0.0009485, allocations: 184 kB / 326.6 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.887/1.887, allocations: 205.4 MB / 0.5777 GB, free: 20.24 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007802/0.0007803, allocations: 85.23 kB / 0.6823 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003762/0.0003765, allocations: 8.656 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2428, allocations: 106.3 MB / 0.9003 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1574/0.4003, allocations: 134.1 MB / 1.031 GB, free: 9.328 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0001638/0.4005, allocations: 43.89 kB / 1.031 GB, free: 9.285 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.296e-05/0.4006, allocations: 0 / 1.031 GB, free: 9.285 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001259/0.4007, allocations: 3.938 kB / 1.031 GB, free: 9.281 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 9.761e-05/0.4008, allocations: 19.97 kB / 1.031 GB, free: 9.262 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004923/0.4013, allocations: 67.7 kB / 1.031 GB, free: 9.195 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0001177/0.4015, allocations: 47.83 kB / 1.031 GB, free: 9.148 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 5.879e-05/0.4015, allocations: 7.984 kB / 1.031 GB, free: 9.141 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.022e-05/0.4016, allocations: 8 kB / 1.031 GB, free: 9.133 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 9.134e-05/0.4017, allocations: 15.92 kB / 1.031 GB, free: 9.117 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.4017, allocations: 0 / 1.031 GB, free: 9.117 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002821/0.402, allocations: 51.83 kB / 1.031 GB, free: 9.066 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 4.803e-05/0.4021, allocations: 7.984 kB / 1.031 GB, free: 9.059 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 3.557e-05/0.4021, allocations: 29.7 kB / 1.032 GB, free: 9.023 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.4022, allocations: 27.97 kB / 1.032 GB, free: 8.996 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 9.778e-06/0.4023, allocations: 4 kB / 1.032 GB, free: 8.992 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.014e-06/0.4023, allocations: 0 / 1.032 GB, free: 8.992 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.4023, allocations: 4 kB / 1.032 GB, free: 8.988 MB / 0.6823 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.0004261/0.4027, allocations: 323.6 kB / 1.032 GB, free: 8.625 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.4028, allocations: 8.031 kB / 1.032 GB, free: 8.617 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.653e-05/0.4028, allocations: 42.55 kB / 1.032 GB, free: 8.566 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002401/0.4031, allocations: 19.94 kB / 1.032 GB, free: 8.547 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.4032, allocations: 159.1 kB / 1.032 GB, free: 8.352 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.151e-05/0.4033, allocations: 29.7 kB / 1.032 GB, free: 8.316 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.4033, allocations: 4 kB / 1.032 GB, free: 8.312 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.4035, allocations: 49.61 kB / 1.032 GB, free: 8.258 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.4035, allocations: 4 kB / 1.032 GB, free: 8.254 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.4035, allocations: 0 / 1.032 GB, free: 8.254 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.94e-05/0.4035, allocations: 0 / 1.032 GB, free: 8.254 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.06e-05/0.4036, allocations: 27.88 kB / 1.032 GB, free: 8.227 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004931/0.4041, allocations: 260.9 kB / 1.032 GB, free: 7.922 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.652e-05/0.4042, allocations: 18.52 kB / 1.032 GB, free: 7.895 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.799e-05/0.4042, allocations: 4.922 kB / 1.032 GB, free: 7.887 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.037e-06/0.4042, allocations: 4 kB / 1.032 GB, free: 7.883 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.4042, allocations: 34.52 kB / 1.032 GB, free: 7.84 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.4042, allocations: 0 / 1.032 GB, free: 7.84 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001622/0.4044, allocations: 37.7 kB / 1.033 GB, free: 7.797 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/0.4045, allocations: 55.39 kB / 1.033 GB, free: 7.73 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.4046, allocations: 101.9 kB / 1.033 GB, free: 7.621 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.038e-05/0.4046, allocations: 29.7 kB / 1.033 GB, free: 7.586 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.776e-05/0.4047, allocations: 91.97 kB / 1.033 GB, free: 7.492 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.885e-06/0.4047, allocations: 11.78 kB / 1.033 GB, free: 7.48 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.526e-06/0.4047, allocations: 0 / 1.033 GB, free: 7.48 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.4048, allocations: 314.8 kB / 1.033 GB, free: 7.164 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.541e-05/0.4049, allocations: 4.125 kB / 1.033 GB, free: 7.16 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.806e-05/0.4049, allocations: 26.56 kB / 1.033 GB, free: 7.125 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.168e-05/0.4049, allocations: 12 kB / 1.033 GB, free: 7.113 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.405, allocations: 0 / 1.033 GB, free: 7.113 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001014/0.4051, allocations: 53.62 kB / 1.033 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.4051, allocations: 6.5 kB / 1.033 GB, free: 7.051 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.4051, allocations: 8.047 kB / 1.033 GB, free: 7.043 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.4051, allocations: 4.094 kB / 1.033 GB, free: 7.039 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.26e-05/0.4052, allocations: 4 kB / 1.033 GB, free: 7.035 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.4052, allocations: 0 / 1.033 GB, free: 7.035 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.261e-05/0.4052, allocations: 7.984 kB / 1.033 GB, free: 7.027 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.4053, allocations: 0 / 1.033 GB, free: 7.027 MB / 0.6823 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.268e-05/0.4053, allocations: 121.8 kB / 1.033 GB, free: 6.898 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.716e-05/0.4054, allocations: 3.906 kB / 1.033 GB, free: 6.895 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.037e-05/0.4054, allocations: 3.125 kB / 1.033 GB, free: 6.891 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.4054, allocations: 11.95 kB / 1.033 GB, free: 6.879 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.4054, allocations: 256 / 1.033 GB, free: 6.879 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.4054, allocations: 0 / 1.033 GB, free: 6.879 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002818/0.4057, allocations: 342.8 kB / 1.034 GB, free: 6.484 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.4057, allocations: 3.938 kB / 1.034 GB, free: 6.48 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.616e-05/0.4058, allocations: 3.984 kB / 1.034 GB, free: 6.477 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.189e-06/0.4058, allocations: 3.953 kB / 1.034 GB, free: 6.473 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.4058, allocations: 0 / 1.034 GB, free: 6.473 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.4058, allocations: 4 kB / 1.034 GB, free: 6.469 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4058, allocations: 4.031 kB / 1.034 GB, free: 6.465 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.042e-05/0.4059, allocations: 57.08 kB / 1.034 GB, free: 6.391 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.558e-05/0.4059, allocations: 81.11 kB / 1.034 GB, free: 6.293 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.406, allocations: 7.938 kB / 1.034 GB, free: 6.285 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.331e-05/0.406, allocations: 4 kB / 1.034 GB, free: 6.281 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.364e-05/0.4061, allocations: 0 / 1.034 GB, free: 6.281 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-06/0.4061, allocations: 4.031 kB / 1.034 GB, free: 6.277 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.266e-05/0.4061, allocations: 87.27 kB / 1.034 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.21e-07/0.4061, allocations: 0 / 1.034 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002102/0.4064, allocations: 8 kB / 1.034 GB, free: 6.184 MB / 0.6823 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.0003634/0.4067, allocations: 0.5928 MB / 1.035 GB, free: 5.562 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 7.668e-05/0.4068, allocations: 20.02 kB / 1.035 GB, free: 5.543 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4068, allocations: 0 / 1.035 GB, free: 5.543 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.756e-06/0.4068, allocations: 7.938 kB / 1.035 GB, free: 5.535 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.4071, allocations: 12.31 kB / 1.035 GB, free: 5.527 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003758/0.4074, allocations: 150.3 kB / 1.035 GB, free: 5.34 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/0.4077, allocations: 0.6773 MB / 1.035 GB, free: 4.637 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.236e-05/0.4078, allocations: 7.984 kB / 1.035 GB, free: 4.629 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.882e-05/0.4078, allocations: 7.438 kB / 1.035 GB, free: 4.621 MB / 0.6823 GB Notification: Performance of SimCode: time 2.5e-07/0.4078, allocations: 0 / 1.035 GB, free: 4.621 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01118/0.419, allocations: 1.124 MB / 1.036 GB, free: 3.711 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002373/0.4193, allocations: 230.7 kB / 1.037 GB, free: 3.469 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.497/1.916, allocations: 0 / 1.037 GB, free: 3.469 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)