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.00168/0.00168, allocations: 110.3 kB / 16.37 MB, free: 6.012 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.00193/0.001931, allocations: 194.6 kB / 17.31 MB, free: 5.613 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.343/1.343, allocations: 222.9 MB / 241 MB, free: 15.17 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.8721/0.8721, allocations: 143.1 MB / 434.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 63.91 kB / 0.5156 GB, free: 14.42 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3699/0.3712, allocations: 82.03 MB / 0.5957 GB, free: 16.11 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.2276/0.5988, allocations: 147.8 MB / 0.7401 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0001664/0.599, allocations: 55.84 kB / 0.7401 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.292e-05/0.5991, allocations: 0 / 0.7401 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001111/0.5992, allocations: 7.938 kB / 0.7401 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.212e-05/0.5993, allocations: 11.92 kB / 0.7401 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005544/0.5999, allocations: 112.8 kB / 0.7402 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.6, allocations: 39.78 kB / 0.7403 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.279e-05/0.6001, allocations: 0 / 0.7403 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.723e-05/0.6001, allocations: 15.98 kB / 0.7403 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.239e-05/0.6002, allocations: 11.98 kB / 0.7403 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.6002, allocations: 0 / 0.7403 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003109/0.6005, allocations: 87.66 kB / 0.7404 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.707e-05/0.6006, allocations: 11.98 kB / 0.7404 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.481e-05/0.6007, allocations: 8 kB / 0.7404 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002066/0.6009, allocations: 71.83 kB / 0.7405 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.832e-06/0.6009, allocations: 8 kB / 0.7405 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.422e-06/0.6009, allocations: 0 / 0.7405 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.6009, allocations: 0 / 0.7405 GB, free: 11.38 MB / 0.5762 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.000428/0.6014, allocations: 331.3 kB / 0.7408 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.6014, allocations: 8.031 kB / 0.7408 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003199/0.6017, allocations: 32.81 kB / 0.7408 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.6019, allocations: 164.4 kB / 0.741 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.41e-05/0.602, allocations: 29.64 kB / 0.741 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.849e-06/0.602, allocations: 0 / 0.741 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.6022, allocations: 49.67 kB / 0.7411 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.6022, allocations: 0 / 0.7411 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.6022, allocations: 0 / 0.7411 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.293e-05/0.6022, allocations: 8 kB / 0.7411 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.413e-05/0.6023, allocations: 15.98 kB / 0.7411 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004816/0.6028, allocations: 266.7 kB / 0.7414 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.235e-05/0.6029, allocations: 22.52 kB / 0.7414 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.033e-05/0.6029, allocations: 4.859 kB / 0.7414 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.911e-06/0.6029, allocations: 0 / 0.7414 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.603, allocations: 34.56 kB / 0.7414 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.422e-06/0.603, allocations: 0 / 0.7414 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001723/0.6031, allocations: 45.61 kB / 0.7415 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.6032, allocations: 55.34 kB / 0.7415 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.6033, allocations: 105.8 kB / 0.7416 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.6033, allocations: 25.7 kB / 0.7416 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.393e-05/0.6034, allocations: 87.98 kB / 0.7417 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.734e-06/0.6034, allocations: 4 kB / 0.7417 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.651e-05/0.6035, allocations: 29.73 kB / 0.7418 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.6036, allocations: 310.8 kB / 0.742 GB, free: 9.57 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.36e-05/0.6037, allocations: 4 kB / 0.7421 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.847e-05/0.6037, allocations: 26.56 kB / 0.7421 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.184e-05/0.6038, allocations: 34.52 kB / 0.7421 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.6038, allocations: 0 / 0.7421 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001289/0.6039, allocations: 53.62 kB / 0.7422 GB, free: 9.43 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.604, allocations: 7.938 kB / 0.7422 GB, free: 9.422 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.604, allocations: 4 kB / 0.7422 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.604, allocations: 0 / 0.7422 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.369e-05/0.6041, allocations: 4 kB / 0.7422 GB, free: 9.414 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.6041, allocations: 7.938 kB / 0.7422 GB, free: 9.406 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.199e-05/0.6042, allocations: 0 / 0.7422 GB, free: 9.406 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.6042, allocations: 4.094 kB / 0.7422 GB, free: 9.402 MB / 0.5762 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 0.0001003/0.6043, allocations: 121.8 kB / 0.7423 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.504e-05/0.6044, allocations: 0 / 0.7423 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.044e-05/0.6044, allocations: 7.125 kB / 0.7423 GB, free: 9.27 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.6044, allocations: 0 / 0.7423 GB, free: 9.27 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.6044, allocations: 3.938 kB / 0.7423 GB, free: 9.266 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.6044, allocations: 96 / 0.7423 GB, free: 9.266 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003589/0.6048, allocations: 342.8 kB / 0.7426 GB, free: 8.871 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.6048, allocations: 3.984 kB / 0.7426 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.086e-05/0.6048, allocations: 3.984 kB / 0.7427 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.6049, allocations: 7.938 kB / 0.7427 GB, free: 8.855 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.6049, allocations: 3.938 kB / 0.7427 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.6049, allocations: 0 / 0.7427 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.6049, allocations: 256 / 0.7427 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001007/0.605, allocations: 64.98 kB / 0.7427 GB, free: 8.77 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.897e-05/0.6051, allocations: 85.11 kB / 0.7428 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.6051, allocations: 7.984 kB / 0.7428 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.6052, allocations: 4 kB / 0.7428 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.443e-05/0.6053, allocations: 0 / 0.7428 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-06/0.6053, allocations: 0 / 0.7428 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.557e-05/0.6053, allocations: 87.27 kB / 0.7429 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6053, allocations: 0 / 0.7429 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003581/0.6057, allocations: 8 kB / 0.7429 GB, free: 8.562 MB / 0.5762 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.0001076/0.6058, allocations: 99.25 kB / 0.743 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001006/0.6059, allocations: 15.94 kB / 0.743 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.606, allocations: 4 kB / 0.743 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.666e-06/0.606, allocations: 0 / 0.743 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.6063, allocations: 7.984 kB / 0.743 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002773/0.6066, allocations: 114.5 kB / 0.7431 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002977/0.6069, allocations: 0.6809 MB / 0.7438 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.476e-05/0.607, allocations: 7.984 kB / 0.7438 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.576e-05/0.607, allocations: 11.44 kB / 0.7438 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of SimCode: time 2.685e-06/0.607, allocations: 0 / 0.7438 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of Templates: time 0.003343/0.6104, allocations: 0.5095 MB / 0.7443 GB, free: 7.102 MB / 0.5762 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 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)