Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",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 2.343/2.343, allocations: 252 MB / 267.3 MB, free: 10.8 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.0012/0.0012, allocations: 170.6 kB / 327 MB, free: 2.047 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.433/2.433, allocations: 205.4 MB / 0.578 GB, free: 20.09 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.0009945/0.0009944, allocations: 84.38 kB / 0.6826 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000465/0.0004652, allocations: 8.094 kB / 0.797 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.242/0.2425, allocations: 106.3 MB / 0.9009 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.2154/0.458, allocations: 144.2 MB / 1.042 GB, free: 14.46 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001848/0.4582, allocations: 47.86 kB / 1.042 GB, free: 14.41 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.406e-05/0.4583, allocations: 0 / 1.042 GB, free: 14.41 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.000151/0.4585, allocations: 0 / 1.042 GB, free: 14.41 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001102/0.4586, allocations: 23.91 kB / 1.042 GB, free: 14.39 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009818/0.4596, allocations: 183.4 kB / 1.042 GB, free: 14.21 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001222/0.4597, allocations: 55.81 kB / 1.042 GB, free: 14.16 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 5.034e-05/0.4598, allocations: 4 kB / 1.042 GB, free: 14.15 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.552e-05/0.4598, allocations: 19.92 kB / 1.042 GB, free: 14.13 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.186e-05/0.4599, allocations: 7.984 kB / 1.042 GB, free: 14.12 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.46, allocations: 4 kB / 1.042 GB, free: 14.12 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006492/0.4606, allocations: 231.3 kB / 1.042 GB, free: 13.89 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.552e-05/0.4607, allocations: 0 / 1.042 GB, free: 13.89 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.93e-05/0.4608, allocations: 49.61 kB / 1.042 GB, free: 13.84 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003732/0.4612, allocations: 115.7 kB / 1.042 GB, free: 13.73 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.4612, allocations: 0 / 1.042 GB, free: 13.73 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.147e-06/0.4612, allocations: 0 / 1.042 GB, free: 13.73 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.4612, allocations: 3.938 kB / 1.042 GB, free: 13.72 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.0005391/0.4618, allocations: 339.8 kB / 1.043 GB, free: 13.34 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.584e-05/0.4618, allocations: 12.03 kB / 1.043 GB, free: 13.33 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.168e-05/0.4619, allocations: 34.75 kB / 1.043 GB, free: 13.29 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004786/0.4624, allocations: 24.91 kB / 1.043 GB, free: 13.27 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.4626, allocations: 172 kB / 1.043 GB, free: 13.06 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.213e-05/0.4627, allocations: 25.7 kB / 1.043 GB, free: 13.03 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.4627, allocations: 0 / 1.043 GB, free: 13.03 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.4629, allocations: 53.67 kB / 1.043 GB, free: 12.97 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.4629, allocations: 0 / 1.043 GB, free: 12.97 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.463, allocations: 4 kB / 1.043 GB, free: 12.96 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.937e-05/0.463, allocations: 0 / 1.043 GB, free: 12.96 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.512e-05/0.4631, allocations: 27.92 kB / 1.043 GB, free: 12.94 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004708/0.4636, allocations: 260.8 kB / 1.043 GB, free: 12.63 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.558e-05/0.4636, allocations: 22.58 kB / 1.043 GB, free: 12.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.212e-05/0.4637, allocations: 12.86 kB / 1.043 GB, free: 12.59 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001993/0.4639, allocations: 101.1 kB / 1.043 GB, free: 12.47 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.4639, allocations: 30.56 kB / 1.043 GB, free: 12.43 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.583e-06/0.464, allocations: 0 / 1.043 GB, free: 12.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0003183/0.4643, allocations: 53.62 kB / 1.044 GB, free: 12.37 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.4643, allocations: 55.34 kB / 1.044 GB, free: 12.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.527e-05/0.4645, allocations: 106 kB / 1.044 GB, free: 12.19 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.4645, allocations: 29.7 kB / 1.044 GB, free: 12.16 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.869e-05/0.4646, allocations: 87.98 kB / 1.044 GB, free: 12.07 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.428e-05/0.4646, allocations: 7.906 kB / 1.044 GB, free: 12.06 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-06/0.4646, allocations: 0 / 1.044 GB, free: 12.06 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.4647, allocations: 318.8 kB / 1.044 GB, free: 11.74 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.069e-05/0.4648, allocations: 0 / 1.044 GB, free: 11.74 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.548e-05/0.4648, allocations: 26.58 kB / 1.044 GB, free: 11.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.335e-05/0.4649, allocations: 38.5 kB / 1.044 GB, free: 11.66 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.4649, allocations: 0 / 1.044 GB, free: 11.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001234/0.465, allocations: 49.64 kB / 1.044 GB, free: 11.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.4651, allocations: 4 kB / 1.044 GB, free: 11.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.4651, allocations: 3.984 kB / 1.044 GB, free: 11.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.4651, allocations: 8.094 kB / 1.044 GB, free: 11.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.478e-05/0.4652, allocations: 4 kB / 1.044 GB, free: 11.58 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/0.4652, allocations: 3.938 kB / 1.044 GB, free: 11.58 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.784e-05/0.4653, allocations: 4 kB / 1.044 GB, free: 11.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.4653, allocations: 0 / 1.044 GB, free: 11.57 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.524e-05/0.4654, allocations: 117.8 kB / 1.044 GB, free: 11.45 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.947e-05/0.4655, allocations: 3.906 kB / 1.044 GB, free: 11.45 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.518e-05/0.4655, allocations: 3.125 kB / 1.044 GB, free: 11.44 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.4655, allocations: 7.984 kB / 1.044 GB, free: 11.43 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.4655, allocations: 7.938 kB / 1.044 GB, free: 11.43 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.4655, allocations: 0 / 1.044 GB, free: 11.43 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004358/0.466, allocations: 359.5 kB / 1.045 GB, free: 11.01 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.466, allocations: 0 / 1.045 GB, free: 11.01 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.875e-05/0.4661, allocations: 11.92 kB / 1.045 GB, free: 11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.4661, allocations: 0 / 1.045 GB, free: 11 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.4661, allocations: 0 / 1.045 GB, free: 11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.4661, allocations: 4 kB / 1.045 GB, free: 11 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.4661, allocations: 4.062 kB / 1.045 GB, free: 10.99 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/0.4663, allocations: 62 kB / 1.045 GB, free: 10.91 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.29e-05/0.4663, allocations: 92.94 kB / 1.045 GB, free: 10.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.4664, allocations: 3.938 kB / 1.045 GB, free: 10.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.4665, allocations: 11.94 kB / 1.045 GB, free: 10.79 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.491e-05/0.4665, allocations: 4.031 kB / 1.045 GB, free: 10.78 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.4665, allocations: 4 kB / 1.045 GB, free: 10.78 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.13e-05/0.4666, allocations: 79.27 kB / 1.045 GB, free: 10.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.81e-07/0.4666, allocations: 7.938 kB / 1.045 GB, free: 10.69 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003354/0.467, allocations: 4 kB / 1.045 GB, free: 10.69 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004883/0.4675, allocations: 0.6133 MB / 1.046 GB, free: 10.04 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001007/0.4676, allocations: 15.94 kB / 1.046 GB, free: 10.03 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.4676, allocations: 4 kB / 1.046 GB, free: 10.02 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.996e-05/0.4676, allocations: 4 kB / 1.046 GB, free: 10.02 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.4679, allocations: 8.328 kB / 1.046 GB, free: 10.01 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005182/0.4685, allocations: 167 kB / 1.046 GB, free: 9.805 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.4688, allocations: 0.677 MB / 1.046 GB, free: 9.102 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001033/0.4689, allocations: 12.41 kB / 1.046 GB, free: 9.09 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.594e-05/0.469, allocations: 7.438 kB / 1.046 GB, free: 9.082 MB / 0.698 GB Notification: Performance of SimCode: time 3.71e-07/0.469, allocations: 0 / 1.046 GB, free: 9.082 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02377/0.4928, allocations: 1.211 MB / 1.048 GB, free: 8.031 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002655/0.4931, allocations: 222.4 kB / 1.048 GB, free: 7.77 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.562/3.055, allocations: 4 kB / 1.048 GB, free: 7.766 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Media_Examples_AirTemperatureEnthalpyInversion.fmu > Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)