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.001138/0.001138, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001487/0.001488, allocations: 198.1 kB / 16.14 MB, free: 6.66 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.426/1.426, allocations: 222.9 MB / 239.8 MB, free: 4.613 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.116/1.116, allocations: 143 MB / 433 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 67.89 kB / 0.5135 GB, free: 12.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1643, allocations: 82.03 MB / 0.5936 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.5171/0.6814, allocations: 146 MB / 0.7362 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001991/0.6817, allocations: 50.19 kB / 0.7362 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.656e-05/0.6817, allocations: 0 / 0.7362 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001435/0.6819, allocations: 6.344 kB / 0.7362 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001214/0.6821, allocations: 17.98 kB / 0.7363 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001211/0.6833, allocations: 203.9 kB / 0.7364 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001769/0.6835, allocations: 53.27 kB / 0.7365 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.761e-05/0.6836, allocations: 7.906 kB / 0.7365 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.479e-05/0.6836, allocations: 14.03 kB / 0.7365 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.6837, allocations: 21.19 kB / 0.7365 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.6838, allocations: 1.375 kB / 0.7365 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007706/0.6846, allocations: 227 kB / 0.7368 GB, free: 7.258 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.34e-05/0.6846, allocations: 10.56 kB / 0.7368 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.624e-05/0.6847, allocations: 12.25 kB / 0.7368 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004728/0.6852, allocations: 122.2 kB / 0.7369 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.6852, allocations: 0 / 0.7369 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.983e-06/0.6852, allocations: 1.375 kB / 0.7369 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.6852, allocations: 0 / 0.7369 GB, free: 7.219 MB / 0.5606 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.0006829/0.6859, allocations: 350.6 kB / 0.7372 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.547e-05/0.686, allocations: 13.56 kB / 0.7372 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005156/0.6865, allocations: 22.67 kB / 0.7373 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.6867, allocations: 163.9 kB / 0.7374 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.917e-05/0.6868, allocations: 34.95 kB / 0.7375 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.417e-05/0.6868, allocations: 1.375 kB / 0.7375 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002009/0.687, allocations: 45.2 kB / 0.7375 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.6871, allocations: 1.938 kB / 0.7375 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/0.6871, allocations: 4.562 kB / 0.7375 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.774e-05/0.6871, allocations: 3.359 kB / 0.7375 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.448e-05/0.6872, allocations: 20.17 kB / 0.7375 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005525/0.6878, allocations: 256.5 kB / 0.7378 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.119e-05/0.6879, allocations: 29.23 kB / 0.7378 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.061e-05/0.6879, allocations: 12.12 kB / 0.7378 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000269/0.6882, allocations: 94.34 kB / 0.7379 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.865e-05/0.6883, allocations: 33.22 kB / 0.7379 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.963e-06/0.6883, allocations: 0 / 0.7379 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0004017/0.6887, allocations: 52.62 kB / 0.738 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.786e-05/0.6888, allocations: 51.53 kB / 0.738 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.6889, allocations: 112.1 kB / 0.7381 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.178e-05/0.689, allocations: 29.7 kB / 0.7382 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.954e-05/0.6891, allocations: 86.11 kB / 0.7382 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.646e-05/0.6891, allocations: 6.031 kB / 0.7383 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.27e-05/0.6892, allocations: 18.23 kB / 0.7383 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.6894, allocations: 312.7 kB / 0.7386 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.071e-05/0.6894, allocations: 6.125 kB / 0.7386 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.881e-05/0.6895, allocations: 30.03 kB / 0.7386 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.185e-05/0.6895, allocations: 31.52 kB / 0.7386 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.6896, allocations: 0 / 0.7386 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000159/0.6897, allocations: 57.62 kB / 0.7387 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.6898, allocations: 5.25 kB / 0.7387 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.6898, allocations: 7.188 kB / 0.7387 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.6898, allocations: 1.344 kB / 0.7387 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.463e-05/0.6899, allocations: 5.625 kB / 0.7387 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.128e-06/0.6899, allocations: 1.859 kB / 0.7387 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.88e-05/0.69, allocations: 5.25 kB / 0.7387 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.69, allocations: 6.406 kB / 0.7387 GB, free: 5.332 MB / 0.5606 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.0001269/0.6901, allocations: 113 kB / 0.7388 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.424e-05/0.6902, allocations: 3.125 kB / 0.7388 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.591e-05/0.6902, allocations: 8.531 kB / 0.7388 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.6902, allocations: 1.281 kB / 0.7388 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.6902, allocations: 3.984 kB / 0.7388 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.6903, allocations: 7.203 kB / 0.7389 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004268/0.6907, allocations: 362.4 kB / 0.7392 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.6907, allocations: 0 / 0.7392 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.592e-05/0.6907, allocations: 3.812 kB / 0.7392 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.948e-05/0.6908, allocations: 6.047 kB / 0.7392 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.6908, allocations: 5.25 kB / 0.7392 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.6908, allocations: 1.375 kB / 0.7392 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.6908, allocations: 3.938 kB / 0.7392 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001205/0.691, allocations: 69.94 kB / 0.7393 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.201e-05/0.691, allocations: 79.2 kB / 0.7394 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.193e-05/0.6911, allocations: 7.453 kB / 0.7394 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.6912, allocations: 10.34 kB / 0.7394 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.942e-05/0.6912, allocations: 4.094 kB / 0.7394 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-06/0.6912, allocations: 1.906 kB / 0.7394 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.499e-05/0.6913, allocations: 79.09 kB / 0.7395 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6913, allocations: 0 / 0.7395 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000338/0.6917, allocations: 6 kB / 0.7395 GB, free: 4.539 MB / 0.5606 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.0001755/0.6918, allocations: 109.2 kB / 0.7396 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001231/0.692, allocations: 19.19 kB / 0.7396 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.692, allocations: 1.25 kB / 0.7396 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.184e-05/0.692, allocations: 10.03 kB / 0.7396 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/0.6924, allocations: 11.72 kB / 0.7396 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000389/0.6928, allocations: 119.7 kB / 0.7397 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.6932, allocations: 0.6765 MB / 0.7404 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.358e-05/0.6933, allocations: 6.406 kB / 0.7404 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.605e-05/0.6933, allocations: 8.969 kB / 0.7404 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of SimCode: time 3.81e-07/0.6933, allocations: 0 / 0.7404 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of Templates: time 0.003938/0.6973, allocations: 0.5643 MB / 0.7409 GB, free: 3.535 MB / 0.5606 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)