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.0011/0.0011, allocations: 105.6 kB / 16.41 MB, free: 6.457 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.001173/0.001174, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.14 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.872/0.872, allocations: 143.1 MB / 434.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 64.14 kB / 0.5962 GB, free: 12.42 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1706, allocations: 82.04 MB / 0.6763 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.5259/0.6966, allocations: 148.3 MB / 0.8211 GB, free: 1.977 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001536/0.6968, allocations: 50.62 kB / 0.8211 GB, free: 1.945 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.469e-05/0.6969, allocations: 0 / 0.8211 GB, free: 1.945 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001182/0.697, allocations: 7.922 kB / 0.8212 GB, free: 1.938 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 8.485e-05/0.6971, allocations: 14.45 kB / 0.8212 GB, free: 1.926 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008111/0.6979, allocations: 207.5 kB / 0.8214 GB, free: 1.789 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.698, allocations: 39.52 kB / 0.8214 GB, free: 1.77 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.943e-05/0.6981, allocations: 4 kB / 0.8214 GB, free: 1.766 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.849e-05/0.6981, allocations: 13.47 kB / 0.8214 GB, free: 1.762 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 8.284e-05/0.6982, allocations: 13.81 kB / 0.8214 GB, free: 1.754 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.6983, allocations: 2.406 kB / 0.8214 GB, free: 1.754 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004155/0.6987, allocations: 200 kB / 0.8216 GB, free: 1.637 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.874e-05/0.6987, allocations: 8.328 kB / 0.8216 GB, free: 1.633 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.823e-05/0.6988, allocations: 9.688 kB / 0.8216 GB, free: 1.629 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002437/0.699, allocations: 118.5 kB / 0.8218 GB, free: 1.566 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.699, allocations: 0 / 0.8218 GB, free: 1.566 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.363e-06/0.699, allocations: 0.8438 kB / 0.8218 GB, free: 1.566 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.699, allocations: 0 / 0.8218 GB, free: 1.566 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.0004527/0.6995, allocations: 342.8 kB / 0.8221 GB, free: 1.203 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.6996, allocations: 9.438 kB / 0.8221 GB, free: 1.203 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003298/0.6999, allocations: 28.5 kB / 0.8221 GB, free: 1.191 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.7, allocations: 168.4 kB / 0.8223 GB, free: 0.9883 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.653e-05/0.7001, allocations: 36.2 kB / 0.8223 GB, free: 0.9492 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-06/0.7001, allocations: 0 / 0.8223 GB, free: 0.9492 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.7002, allocations: 50.2 kB / 0.8224 GB, free: 0.9062 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.7003, allocations: 1.312 kB / 0.8224 GB, free: 0.9062 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.7003, allocations: 0 / 0.8224 GB, free: 0.9062 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/0.7003, allocations: 2.625 kB / 0.8224 GB, free: 0.9062 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.669e-05/0.7004, allocations: 22.83 kB / 0.8224 GB, free: 0.8984 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003651/0.7007, allocations: 260.3 kB / 0.8226 GB, free: 0.6094 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 5.543e-05/0.7008, allocations: 23.36 kB / 0.8227 GB, free: 0.582 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.146e-05/0.7008, allocations: 10.86 kB / 0.8227 GB, free: 0.5703 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001617/0.701, allocations: 91.22 kB / 0.8228 GB, free: 484 kB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.701, allocations: 30.56 kB / 0.8228 GB, free: 444 kB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 1.223e-06/0.701, allocations: 4 kB / 0.8228 GB, free: 440 kB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.0002449/0.7013, allocations: 52.88 kB / 0.8228 GB, free: 396 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.7013, allocations: 51.41 kB / 0.8229 GB, free: 332 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.367e-05/0.7014, allocations: 111 kB / 0.823 GB, free: 216 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.7014, allocations: 28.14 kB / 0.823 GB, free: 184 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.832e-05/0.7015, allocations: 94.03 kB / 0.8231 GB, free: 88 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.103e-05/0.7015, allocations: 10.09 kB / 0.8231 GB, free: 80 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.998e-05/0.7016, allocations: 16.09 kB / 0.8231 GB, free: 60 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.7017, allocations: 321.7 kB / 0.8234 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.654e-05/0.7017, allocations: 6.625 kB / 0.8234 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.64e-05/0.7017, allocations: 18.89 kB / 0.8235 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.548e-05/0.7018, allocations: 38.47 kB / 0.8235 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.7018, allocations: 0 / 0.8235 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.619e-05/0.7019, allocations: 55.06 kB / 0.8236 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.7019, allocations: 5.344 kB / 0.8236 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.7019, allocations: 0 / 0.8236 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.7019, allocations: 2.406 kB / 0.8236 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.932e-05/0.702, allocations: 8.25 kB / 0.8236 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.702, allocations: 0 / 0.8236 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.248e-05/0.7021, allocations: 14.62 kB / 0.8236 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.7021, allocations: 6.188 kB / 0.8236 GB, free: 15.61 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.392e-05/0.7022, allocations: 108.5 kB / 0.8237 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.537e-05/0.7022, allocations: 0 / 0.8237 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.438e-05/0.7022, allocations: 13.11 kB / 0.8237 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.7022, allocations: 0 / 0.8237 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.7022, allocations: 0 / 0.8237 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.7023, allocations: 3.938 kB / 0.8237 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002801/0.7025, allocations: 367.1 kB / 0.8241 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.7026, allocations: 0 / 0.8241 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.675e-05/0.7026, allocations: 2.531 kB / 0.8241 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.7026, allocations: 7.875 kB / 0.8241 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.7026, allocations: 6.5 kB / 0.8241 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.7026, allocations: 0 / 0.8241 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.7026, allocations: 0 / 0.8241 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.41e-05/0.7027, allocations: 72.11 kB / 0.8241 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.588e-05/0.7028, allocations: 83.61 kB / 0.8242 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.7028, allocations: 3.938 kB / 0.8242 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.114e-05/0.7029, allocations: 4.688 kB / 0.8242 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.173e-05/0.7029, allocations: 0 / 0.8242 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-06/0.7029, allocations: 0 / 0.8242 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.936e-05/0.7029, allocations: 88.17 kB / 0.8243 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.81e-07/0.703, allocations: 0 / 0.8243 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001921/0.7031, allocations: 12 kB / 0.8243 GB, free: 14.8 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.0001135/0.7033, allocations: 100.8 kB / 0.8244 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.85e-05/0.7034, allocations: 17.7 kB / 0.8244 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.7034, allocations: 3.938 kB / 0.8244 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.317e-05/0.7034, allocations: 9.188 kB / 0.8245 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002409/0.7036, allocations: 10.25 kB / 0.8245 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002809/0.7039, allocations: 138.5 kB / 0.8246 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/0.7042, allocations: 0.6776 MB / 0.8253 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.531e-05/0.7042, allocations: 7.438 kB / 0.8253 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.7042, allocations: 0 / 0.8253 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of Templates: time 0.001946/0.7062, allocations: 0.6268 MB / 0.8259 GB, free: 13.53 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)