Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 111.9 kB / 16.38 MB, free: 6.484 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.001096/0.001096, allocations: 190.2 kB / 17.31 MB, free: 5.785 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.311/1.311, allocations: 222.9 MB / 241 MB, free: 15.21 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.8406/0.8406, allocations: 143.1 MB / 434.2 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 68 kB / 0.5962 GB, free: 12.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1599, allocations: 82.02 MB / 0.6763 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.5613/0.7213, allocations: 147.9 MB / 0.8206 GB, free: 2.324 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001504/0.7215, allocations: 48.2 kB / 0.8207 GB, free: 2.289 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.199e-05/0.7215, allocations: 2.281 kB / 0.8207 GB, free: 2.289 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001343/0.7217, allocations: 3.938 kB / 0.8207 GB, free: 2.285 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 8.668e-05/0.7218, allocations: 14.88 kB / 0.8207 GB, free: 2.273 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005267/0.7224, allocations: 110.4 kB / 0.8208 GB, free: 2.199 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 9.051e-05/0.7225, allocations: 28.92 kB / 0.8208 GB, free: 2.188 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.711e-05/0.7225, allocations: 2.75 kB / 0.8208 GB, free: 2.188 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 5.151e-05/0.7226, allocations: 20.22 kB / 0.8209 GB, free: 2.176 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 7.351e-05/0.7226, allocations: 10.81 kB / 0.8209 GB, free: 2.172 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.7227, allocations: 1.375 kB / 0.8209 GB, free: 2.172 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002804/0.7229, allocations: 96.7 kB / 0.821 GB, free: 2.109 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.37e-05/0.723, allocations: 2.75 kB / 0.821 GB, free: 2.109 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.815e-05/0.723, allocations: 17.41 kB / 0.821 GB, free: 2.098 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001741/0.7232, allocations: 65.25 kB / 0.8211 GB, free: 2.07 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.7232, allocations: 0 / 0.8211 GB, free: 2.07 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.486e-06/0.7232, allocations: 0 / 0.8211 GB, free: 2.07 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.7232, allocations: 3.938 kB / 0.8211 GB, free: 2.066 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.0003939/0.7236, allocations: 336 kB / 0.8214 GB, free: 1.707 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.7237, allocations: 9.75 kB / 0.8214 GB, free: 1.707 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000245/0.7239, allocations: 25.73 kB / 0.8214 GB, free: 1.695 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.7241, allocations: 164.5 kB / 0.8216 GB, free: 1.496 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.402e-05/0.7242, allocations: 31.89 kB / 0.8216 GB, free: 1.461 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.7242, allocations: 2.781 kB / 0.8216 GB, free: 1.461 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.7243, allocations: 51.59 kB / 0.8216 GB, free: 1.414 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.7243, allocations: 0 / 0.8216 GB, free: 1.414 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.7244, allocations: 0 / 0.8216 GB, free: 1.414 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.73e-05/0.7244, allocations: 2.406 kB / 0.8217 GB, free: 1.414 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.757e-05/0.7244, allocations: 26.39 kB / 0.8217 GB, free: 1.398 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00039/0.7248, allocations: 262.4 kB / 0.8219 GB, free: 1.109 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 4.185e-05/0.7249, allocations: 14.58 kB / 0.8219 GB, free: 1.086 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.883e-05/0.7249, allocations: 7.859 kB / 0.8219 GB, free: 1.078 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 5.831e-06/0.7249, allocations: 0 / 0.8219 GB, free: 1.078 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.725, allocations: 38.56 kB / 0.822 GB, free: 1.031 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.725, allocations: 1.312 kB / 0.822 GB, free: 1.031 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0001447/0.7251, allocations: 36.67 kB / 0.822 GB, free: 0.9961 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.7252, allocations: 55.39 kB / 0.8221 GB, free: 0.9297 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.291e-05/0.7253, allocations: 105.5 kB / 0.8222 GB, free: 0.8242 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.7253, allocations: 25.7 kB / 0.8222 GB, free: 0.793 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.173e-05/0.7253, allocations: 102.1 kB / 0.8223 GB, free: 0.6914 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.861e-06/0.7253, allocations: 4.125 kB / 0.8223 GB, free: 0.6875 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.179e-05/0.7254, allocations: 15.47 kB / 0.8223 GB, free: 0.6719 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.7255, allocations: 318.8 kB / 0.8226 GB, free: 360 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.866e-05/0.7255, allocations: 6.078 kB / 0.8226 GB, free: 356 kB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.875e-05/0.7256, allocations: 23.23 kB / 0.8226 GB, free: 332 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.586e-05/0.7256, allocations: 34.42 kB / 0.8227 GB, free: 296 kB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.7256, allocations: 2.469 kB / 0.8227 GB, free: 296 kB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.298e-05/0.7257, allocations: 56.88 kB / 0.8227 GB, free: 248 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.7257, allocations: 7.781 kB / 0.8227 GB, free: 248 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.7257, allocations: 2.594 kB / 0.8227 GB, free: 248 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.7258, allocations: 0 / 0.8227 GB, free: 248 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.34e-05/0.7258, allocations: 8.641 kB / 0.8228 GB, free: 244 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.7258, allocations: 6.75 kB / 0.8228 GB, free: 240 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.469e-05/0.7259, allocations: 8.094 kB / 0.8228 GB, free: 232 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.7259, allocations: 6.344 kB / 0.8228 GB, free: 228 kB / 0.5919 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 7.019e-05/0.726, allocations: 112.2 kB / 0.8229 GB, free: 108 kB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/0.726, allocations: 2.562 kB / 0.8229 GB, free: 108 kB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.558e-05/0.726, allocations: 3.125 kB / 0.8229 GB, free: 108 kB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.726, allocations: 0 / 0.8229 GB, free: 108 kB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.726, allocations: 3.938 kB / 0.8229 GB, free: 104 kB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.726, allocations: 2.719 kB / 0.8229 GB, free: 104 kB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000285/0.7263, allocations: 353.6 kB / 0.8232 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.7263, allocations: 0 / 0.8232 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.555e-05/0.7264, allocations: 3.312 kB / 0.8232 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.7264, allocations: 3.938 kB / 0.8232 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.708e-06/0.7264, allocations: 0 / 0.8232 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.7264, allocations: 0 / 0.8232 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.7264, allocations: 0 / 0.8232 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.084e-05/0.7265, allocations: 64.62 kB / 0.8233 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.033e-05/0.7265, allocations: 81.02 kB / 0.8234 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.7265, allocations: 5.844 kB / 0.8234 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.264e-05/0.7266, allocations: 6.75 kB / 0.8234 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.531e-05/0.7267, allocations: 0 / 0.8234 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-06/0.7267, allocations: 0 / 0.8234 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.182e-05/0.7267, allocations: 87.45 kB / 0.8235 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7267, allocations: 0 / 0.8235 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001928/0.7269, allocations: 7.875 kB / 0.8235 GB, free: 15.44 MB / 0.6075 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 (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.0001015/0.727, allocations: 105 kB / 0.8236 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.943e-05/0.7271, allocations: 19.42 kB / 0.8236 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.7271, allocations: 0 / 0.8236 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.402e-06/0.7271, allocations: 2.094 kB / 0.8236 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002277/0.7274, allocations: 3.141 kB / 0.8236 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002808/0.7277, allocations: 137 kB / 0.8237 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000223/0.7279, allocations: 0.6777 MB / 0.8244 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.486e-05/0.7279, allocations: 7.438 kB / 0.8244 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of SimCode: time 3.51e-07/0.7279, allocations: 3.938 kB / 0.8244 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of Templates: time 0.001986/0.7299, allocations: 0.5615 MB / 0.825 GB, free: 14.21 MB / 0.6075 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)