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.001044/0.001044, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.341/1.341, allocations: 222.9 MB / 240.2 MB, free: 4.402 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 0.9568/0.9568, allocations: 143 MB / 433.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 67.89 kB / 0.5141 GB, free: 11.67 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1751, allocations: 82.04 MB / 0.5943 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.4545/0.6297, allocations: 148.3 MB / 0.739 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001536/0.6299, allocations: 60.11 kB / 0.7391 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.989e-05/0.6299, allocations: 0 / 0.7391 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.97e-05/0.63, allocations: 4 kB / 0.7391 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.966e-05/0.6301, allocations: 13.83 kB / 0.7391 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000715/0.6309, allocations: 211.5 kB / 0.7393 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.443e-05/0.6309, allocations: 36.34 kB / 0.7394 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.521e-05/0.631, allocations: 4.516 kB / 0.7394 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.6e-05/0.631, allocations: 17.42 kB / 0.7394 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.443e-05/0.6311, allocations: 17.05 kB / 0.7394 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.6311, allocations: 0 / 0.7394 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004075/0.6315, allocations: 191.5 kB / 0.7396 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.12e-05/0.6316, allocations: 14.25 kB / 0.7396 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.795e-05/0.6316, allocations: 6.844 kB / 0.7396 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002534/0.6319, allocations: 119 kB / 0.7397 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.6319, allocations: 0 / 0.7397 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.724e-06/0.6319, allocations: 1.312 kB / 0.7397 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.6319, allocations: 0 / 0.7397 GB, free: 5.262 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.0003926/0.6323, allocations: 346.3 kB / 0.74 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.6324, allocations: 9.625 kB / 0.74 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003025/0.6327, allocations: 24.62 kB / 0.7401 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.6328, allocations: 162.5 kB / 0.7402 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.294e-05/0.6328, allocations: 32.02 kB / 0.7403 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.6329, allocations: 1 kB / 0.7403 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.633, allocations: 51.28 kB / 0.7403 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.633, allocations: 5.938 kB / 0.7403 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.633, allocations: 0 / 0.7403 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.73e-05/0.6331, allocations: 8.234 kB / 0.7403 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.432e-05/0.6331, allocations: 25.05 kB / 0.7403 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003238/0.6334, allocations: 259.7 kB / 0.7406 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.585e-05/0.6335, allocations: 23.8 kB / 0.7406 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.122e-05/0.6335, allocations: 12.2 kB / 0.7406 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001423/0.6337, allocations: 94.12 kB / 0.7407 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.6337, allocations: 37.59 kB / 0.7408 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.6337, allocations: 0 / 0.7408 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0002302/0.634, allocations: 54.16 kB / 0.7408 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.634, allocations: 57 kB / 0.7409 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.445e-05/0.6341, allocations: 103.6 kB / 0.741 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.6341, allocations: 25.7 kB / 0.741 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.013e-05/0.6341, allocations: 87.23 kB / 0.7411 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.437e-06/0.6342, allocations: 5.188 kB / 0.7411 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.178e-05/0.6342, allocations: 19.36 kB / 0.7411 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.505e-05/0.6343, allocations: 314.2 kB / 0.7414 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.474e-05/0.6343, allocations: 2.75 kB / 0.7414 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.812e-05/0.6344, allocations: 33.5 kB / 0.7414 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.099e-05/0.6344, allocations: 29.92 kB / 0.7415 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.6344, allocations: 1.688 kB / 0.7415 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.722e-05/0.6345, allocations: 56.94 kB / 0.7415 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.6345, allocations: 10.28 kB / 0.7415 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.6345, allocations: 0.9688 kB / 0.7415 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.6345, allocations: 1.25 kB / 0.7415 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.378e-05/0.6346, allocations: 5.562 kB / 0.7415 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.6346, allocations: 5.062 kB / 0.7415 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.971e-05/0.6347, allocations: 5.062 kB / 0.7415 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.6347, allocations: 3.688 kB / 0.7415 GB, free: 3.375 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 7.111e-05/0.6347, allocations: 111.2 kB / 0.7416 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.6348, allocations: 6.203 kB / 0.7416 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.888e-05/0.6348, allocations: 7.125 kB / 0.7417 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.6348, allocations: 1.094 kB / 0.7417 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.6348, allocations: 0 / 0.7417 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.6348, allocations: 5.094 kB / 0.7417 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002686/0.6351, allocations: 358.5 kB / 0.742 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.6351, allocations: 2.031 kB / 0.742 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.409e-05/0.6351, allocations: 4.438 kB / 0.742 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.6351, allocations: 9.406 kB / 0.742 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.6352, allocations: 0 / 0.742 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.6352, allocations: 5.938 kB / 0.742 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.6352, allocations: 3.047 kB / 0.742 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.563e-05/0.6352, allocations: 72.94 kB / 0.7421 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.5e-05/0.6353, allocations: 80.97 kB / 0.7422 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.6353, allocations: 10.22 kB / 0.7422 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.863e-05/0.6354, allocations: 6.844 kB / 0.7422 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.413e-05/0.6354, allocations: 2.531 kB / 0.7422 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-06/0.6354, allocations: 1.469 kB / 0.7422 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.941e-05/0.6355, allocations: 79.59 kB / 0.7423 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6355, allocations: 0 / 0.7423 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001879/0.6357, allocations: 5.719 kB / 0.7423 GB, free: 2.582 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.0001214/0.6358, allocations: 107.6 kB / 0.7424 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.654e-05/0.6359, allocations: 16.48 kB / 0.7424 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.6359, allocations: 0 / 0.7424 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.068e-05/0.6359, allocations: 4.25 kB / 0.7424 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.6361, allocations: 13.28 kB / 0.7424 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002602/0.6364, allocations: 122.7 kB / 0.7425 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002158/0.6366, allocations: 0.678 MB / 0.7432 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.716e-05/0.6367, allocations: 10.67 kB / 0.7432 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.136e-05/0.6367, allocations: 8.594 kB / 0.7432 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of SimCode: time 2.21e-07/0.6367, allocations: 0 / 0.7432 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of Templates: time 0.002594/0.6393, allocations: 0.5813 MB / 0.7438 GB, free: 1.562 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)