Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001592/0.001592, allocations: 110.5 kB / 16.41 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001771/0.001771, allocations: 183 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9011/0.9011, allocations: 143.1 MB / 434.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 60.22 kB / 0.5962 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.1695, allocations: 82.04 MB / 0.6763 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.5151/0.6846, allocations: 148.7 MB / 0.8215 GB, free: 1.633 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001566/0.6848, allocations: 62.72 kB / 0.8216 GB, free: 1.586 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.617e-05/0.6848, allocations: 3.938 kB / 0.8216 GB, free: 1.582 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001088/0.6849, allocations: 6.781 kB / 0.8216 GB, free: 1.578 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 7.334e-05/0.685, allocations: 11.42 kB / 0.8216 GB, free: 1.57 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007173/0.6857, allocations: 222.6 kB / 0.8218 GB, free: 1.414 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 8.616e-05/0.6858, allocations: 29.61 kB / 0.8218 GB, free: 1.402 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.823e-05/0.6858, allocations: 0 / 0.8218 GB, free: 1.402 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.599e-05/0.6859, allocations: 22.09 kB / 0.8219 GB, free: 1.391 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.097e-05/0.6859, allocations: 8.906 kB / 0.8219 GB, free: 1.387 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.088e-05/0.6859, allocations: 2.812 kB / 0.8219 GB, free: 1.387 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003847/0.6863, allocations: 201.9 kB / 0.8221 GB, free: 1.27 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 3.76e-05/0.6864, allocations: 2.5 kB / 0.8221 GB, free: 1.27 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.062e-05/0.6864, allocations: 17.08 kB / 0.8221 GB, free: 1.258 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002196/0.6866, allocations: 117.4 kB / 0.8222 GB, free: 1.203 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.6866, allocations: 4 kB / 0.8222 GB, free: 1.199 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.332e-06/0.6866, allocations: 0 / 0.8222 GB, free: 1.199 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.107e-06/0.6866, allocations: 0 / 0.8222 GB, free: 1.199 MB / 0.5919 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.0004495/0.6871, allocations: 342.2 kB / 0.8225 GB, free: 0.832 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.6871, allocations: 10.16 kB / 0.8225 GB, free: 0.832 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002977/0.6874, allocations: 21.38 kB / 0.8225 GB, free: 0.8242 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.6876, allocations: 167.5 kB / 0.8227 GB, free: 0.625 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.801e-05/0.6876, allocations: 29.64 kB / 0.8227 GB, free: 0.5898 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.6876, allocations: 10.38 kB / 0.8227 GB, free: 0.582 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.6878, allocations: 50.86 kB / 0.8228 GB, free: 0.5391 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.6878, allocations: 0 / 0.8228 GB, free: 0.5391 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.6878, allocations: 0.8125 kB / 0.8228 GB, free: 0.5391 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.477e-05/0.6878, allocations: 2.594 kB / 0.8228 GB, free: 0.5391 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.568e-05/0.6879, allocations: 24.3 kB / 0.8228 GB, free: 0.5273 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000373/0.6882, allocations: 260.3 kB / 0.8231 GB, free: 244 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 6.481e-05/0.6883, allocations: 31.94 kB / 0.8231 GB, free: 208 kB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.112e-05/0.6883, allocations: 7.422 kB / 0.8231 GB, free: 200 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001639/0.6885, allocations: 91.09 kB / 0.8232 GB, free: 100 kB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.6885, allocations: 34.56 kB / 0.8232 GB, free: 56 kB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.6885, allocations: 2.062 kB / 0.8232 GB, free: 56 kB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.0002382/0.6887, allocations: 52.47 kB / 0.8233 GB, free: 12 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.866e-05/0.6888, allocations: 59.39 kB / 0.8233 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.365e-05/0.6889, allocations: 99.8 kB / 0.8234 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.6889, allocations: 25.7 kB / 0.8235 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.833e-05/0.689, allocations: 94.31 kB / 0.8235 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.849e-06/0.689, allocations: 10.56 kB / 0.8236 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.073e-05/0.689, allocations: 15.75 kB / 0.8236 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.6892, allocations: 317.6 kB / 0.8239 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.56e-05/0.6892, allocations: 2.812 kB / 0.8239 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.338e-05/0.6892, allocations: 28.94 kB / 0.8239 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.135e-05/0.6893, allocations: 30.52 kB / 0.8239 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.6893, allocations: 4 kB / 0.8239 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.387e-05/0.6894, allocations: 52.88 kB / 0.824 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.6894, allocations: 7.594 kB / 0.824 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.6894, allocations: 0 / 0.824 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.6894, allocations: 0 / 0.824 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.512e-05/0.6895, allocations: 6.875 kB / 0.824 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.6895, allocations: 3.938 kB / 0.824 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.222e-05/0.6895, allocations: 10.8 kB / 0.824 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.832e-06/0.6895, allocations: 3.984 kB / 0.824 GB, free: 15.25 MB / 0.6075 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 8.873e-05/0.6896, allocations: 112.8 kB / 0.8241 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.593e-05/0.6896, allocations: 6.031 kB / 0.8241 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.088e-05/0.6896, allocations: 7.125 kB / 0.8241 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.6896, allocations: 6.562 kB / 0.8241 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.6896, allocations: 3 kB / 0.8241 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.6896, allocations: 3.938 kB / 0.8242 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003436/0.69, allocations: 364 kB / 0.8245 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.69, allocations: 3.281 kB / 0.8245 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.42e-05/0.69, allocations: 2.75 kB / 0.8245 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/0.69, allocations: 3.938 kB / 0.8245 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-06/0.69, allocations: 0 / 0.8245 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.69, allocations: 0 / 0.8245 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.69, allocations: 2.125 kB / 0.8245 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.564e-05/0.6901, allocations: 76.27 kB / 0.8246 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.749e-05/0.6902, allocations: 81.06 kB / 0.8247 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.6902, allocations: 6.281 kB / 0.8247 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.469e-05/0.6903, allocations: 6.547 kB / 0.8247 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.752e-05/0.6903, allocations: 0 / 0.8247 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.6903, allocations: 2.219 kB / 0.8247 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.217e-05/0.6904, allocations: 82.19 kB / 0.8248 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.6904, allocations: 0 / 0.8248 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000196/0.6906, allocations: 7.25 kB / 0.8248 GB, free: 14.43 MB / 0.6075 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.0001263/0.6907, allocations: 106.1 kB / 0.8249 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.817e-05/0.6908, allocations: 17.53 kB / 0.8249 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.6908, allocations: 0 / 0.8249 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.949e-06/0.6908, allocations: 2.812 kB / 0.8249 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/0.691, allocations: 11.25 kB / 0.8249 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002961/0.6913, allocations: 150.7 kB / 0.825 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.6916, allocations: 0.6735 MB / 0.8257 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.586e-05/0.6917, allocations: 10.41 kB / 0.8257 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of SimCode: time 3.01e-07/0.6917, allocations: 0 / 0.8257 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of Templates: time 0.002106/0.6938, allocations: 0.6368 MB / 0.8263 GB, free: 13.15 MB / 0.6075 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)