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.005445/0.005445, allocations: 99.36 kB / 15.73 MB, free: 6.027 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.001175/0.001175, allocations: 190.9 kB / 16.67 MB, free: 5.961 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.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 1.035/1.035, allocations: 143 MB / 433.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 63.91 kB / 0.5955 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4567/0.458, allocations: 82.02 MB / 0.6756 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1495/0.6075, allocations: 147.8 MB / 0.82 GB, free: 2.215 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0001435/0.6077, allocations: 55.84 kB / 0.8201 GB, free: 2.16 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.182e-05/0.6077, allocations: 8 kB / 0.8201 GB, free: 2.152 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 9.399e-05/0.6078, allocations: 7.875 kB / 0.8201 GB, free: 2.145 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 6.541e-05/0.608, allocations: 7.922 kB / 0.8201 GB, free: 2.137 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.000415/0.6084, allocations: 107.1 kB / 0.8202 GB, free: 2.035 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 7.851e-05/0.6085, allocations: 39.84 kB / 0.8202 GB, free: 1.996 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 3.188e-05/0.6085, allocations: 0 / 0.8202 GB, free: 1.996 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 3.762e-05/0.6085, allocations: 19.92 kB / 0.8203 GB, free: 1.977 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 6.081e-05/0.6086, allocations: 15.98 kB / 0.8203 GB, free: 1.961 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.6086, allocations: 0 / 0.8203 GB, free: 1.961 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002373/0.6089, allocations: 79.72 kB / 0.8203 GB, free: 1.883 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 4.382e-05/0.6089, allocations: 11.98 kB / 0.8204 GB, free: 1.871 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 2.601e-05/0.609, allocations: 7.938 kB / 0.8204 GB, free: 1.863 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001595/0.6091, allocations: 82.44 kB / 0.8204 GB, free: 1.785 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.6091, allocations: 0 / 0.8204 GB, free: 1.785 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.052e-06/0.6091, allocations: 0 / 0.8204 GB, free: 1.785 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.6092, allocations: 0 / 0.8204 GB, free: 1.785 MB / 0.6387 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.000347/0.6095, allocations: 347.3 kB / 0.8208 GB, free: 1.398 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.6095, allocations: 12.61 kB / 0.8208 GB, free: 1.387 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002208/0.6098, allocations: 16.92 kB / 0.8208 GB, free: 1.371 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.6099, allocations: 160.4 kB / 0.821 GB, free: 1.176 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.918e-05/0.6099, allocations: 33.64 kB / 0.821 GB, free: 1.137 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-06/0.61, allocations: 0 / 0.821 GB, free: 1.137 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.6101, allocations: 45.67 kB / 0.821 GB, free: 1.086 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.6101, allocations: 8 kB / 0.821 GB, free: 1.078 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.6101, allocations: 0 / 0.821 GB, free: 1.078 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/0.6102, allocations: 0 / 0.821 GB, free: 1.078 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.947e-05/0.6102, allocations: 23.92 kB / 0.8211 GB, free: 1.055 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003819/0.6106, allocations: 260.9 kB / 0.8213 GB, free: 0.75 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 3.813e-05/0.6107, allocations: 14.58 kB / 0.8213 GB, free: 0.7266 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.898e-05/0.6107, allocations: 12.92 kB / 0.8213 GB, free: 0.7109 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 6.793e-06/0.6107, allocations: 0 / 0.8213 GB, free: 0.7109 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.6107, allocations: 34.55 kB / 0.8214 GB, free: 0.668 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.6107, allocations: 0 / 0.8214 GB, free: 0.668 MB / 0.6387 GB Notification: Performance of matching and sorting (n=1): time 0.0001324/0.6109, allocations: 37.64 kB / 0.8214 GB, free: 0.625 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.6109, allocations: 59.34 kB / 0.8215 GB, free: 0.5547 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.867e-05/0.611, allocations: 105.8 kB / 0.8216 GB, free: 452 kB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.611, allocations: 29.83 kB / 0.8216 GB, free: 416 kB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 4.406e-05/0.6111, allocations: 95.92 kB / 0.8217 GB, free: 316 kB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 8.606e-06/0.6111, allocations: 7.984 kB / 0.8217 GB, free: 308 kB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.192e-05/0.6111, allocations: 13.72 kB / 0.8217 GB, free: 288 kB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.6112, allocations: 314.8 kB / 0.822 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.523e-05/0.6112, allocations: 4 kB / 0.822 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.515e-05/0.6113, allocations: 22.56 kB / 0.822 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.606e-05/0.6113, allocations: 38.45 kB / 0.8221 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.6113, allocations: 4 kB / 0.8221 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.79e-05/0.6114, allocations: 53.62 kB / 0.8221 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.6114, allocations: 4 kB / 0.8221 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.6114, allocations: 0 / 0.8221 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.6115, allocations: 4.094 kB / 0.8221 GB, free: 15.81 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.563e-05/0.6115, allocations: 8 kB / 0.8221 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.6115, allocations: 3.938 kB / 0.8221 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.888e-05/0.6116, allocations: 7.953 kB / 0.8221 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.177e-06/0.6116, allocations: 0 / 0.8221 GB, free: 15.79 MB / 0.6544 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 6.917e-05/0.6117, allocations: 121.8 kB / 0.8223 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.617e-05/0.6117, allocations: 0 / 0.8223 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.329e-05/0.6117, allocations: 3.125 kB / 0.8223 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.6117, allocations: 0 / 0.8223 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.6117, allocations: 8.188 kB / 0.8223 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.6117, allocations: 4 kB / 0.8223 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002356/0.612, allocations: 346.8 kB / 0.8226 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.612, allocations: 0 / 0.8226 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.353e-05/0.612, allocations: 0 / 0.8226 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.612, allocations: 3.938 kB / 0.8226 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.199e-06/0.612, allocations: 0 / 0.8226 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.612, allocations: 0 / 0.8226 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.612, allocations: 4 kB / 0.8226 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.879e-05/0.6121, allocations: 61.11 kB / 0.8227 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.995e-05/0.6122, allocations: 92.98 kB / 0.8228 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/0.6122, allocations: 0 / 0.8228 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.757e-05/0.6123, allocations: 0 / 0.8228 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.031e-05/0.6123, allocations: 0 / 0.8228 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-06/0.6123, allocations: 4 kB / 0.8228 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.257e-05/0.6123, allocations: 87.27 kB / 0.8228 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6123, allocations: 7.969 kB / 0.8229 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001911/0.6125, allocations: 4 kB / 0.8229 GB, free: 14.96 MB / 0.6544 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 8.244e-05/0.6126, allocations: 99.25 kB / 0.823 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 7.77e-05/0.6127, allocations: 19.94 kB / 0.823 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.6127, allocations: 0 / 0.823 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.482e-06/0.6127, allocations: 4 kB / 0.823 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/0.6129, allocations: 4.234 kB / 0.823 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000203/0.6132, allocations: 114.5 kB / 0.8231 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002057/0.6134, allocations: 0.6729 MB / 0.8237 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.787e-05/0.6134, allocations: 11.84 kB / 0.8238 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.054e-05/0.6135, allocations: 7.438 kB / 0.8238 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of SimCode: time 2.61e-07/0.6135, allocations: 7.875 kB / 0.8238 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of Templates: time 0.002319/0.6158, allocations: 0.5148 MB / 0.8243 GB, free: 13.48 MB / 0.6544 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)