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.0009473/0.0009476, allocations: 92.55 kB / 16.02 MB, free: 80 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.001087/0.001087, allocations: 180.8 kB / 16.92 MB, free: 6.926 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.37/1.37, allocations: 223.3 MB / 241 MB, free: 5.348 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.029/1.029, allocations: 143.2 MB / 435.3 MB, free: 13.74 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003318/0.0003319, allocations: 8 kB / 0.517 GB, free: 11.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1728, allocations: 83.4 MB / 0.5985 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.4746/0.6475, allocations: 144.1 MB / 0.7393 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001432/0.6477, allocations: 48.48 kB / 0.7393 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.943e-05/0.6477, allocations: 0 / 0.7393 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.466e-05/0.6478, allocations: 5.906 kB / 0.7393 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.494e-05/0.6479, allocations: 14.28 kB / 0.7393 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007381/0.6486, allocations: 207.8 kB / 0.7395 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001131/0.6487, allocations: 58.72 kB / 0.7396 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.499e-05/0.6488, allocations: 2.25 kB / 0.7396 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.959e-05/0.6488, allocations: 22.61 kB / 0.7396 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.991e-05/0.6489, allocations: 9.359 kB / 0.7396 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.6489, allocations: 1.031 kB / 0.7396 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005699/0.6495, allocations: 226.6 kB / 0.7398 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.364e-05/0.6496, allocations: 11.08 kB / 0.7398 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.296e-05/0.6496, allocations: 40.25 kB / 0.7399 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001701/0.6498, allocations: 74.72 kB / 0.7399 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.6498, allocations: 0 / 0.7399 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.272e-06/0.6498, allocations: 0 / 0.7399 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.6498, allocations: 0 / 0.7399 GB, free: 6.719 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.0003524/0.6502, allocations: 338.5 kB / 0.7403 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.6502, allocations: 10.53 kB / 0.7403 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003149/0.6505, allocations: 25.34 kB / 0.7403 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.6507, allocations: 167.8 kB / 0.7405 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.604e-05/0.6507, allocations: 30.95 kB / 0.7405 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.115e-06/0.6507, allocations: 1.406 kB / 0.7405 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.6509, allocations: 47 kB / 0.7405 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.6509, allocations: 5.344 kB / 0.7405 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000116/0.651, allocations: 0 / 0.7405 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.801e-05/0.651, allocations: 5.984 kB / 0.7405 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.443e-05/0.6511, allocations: 21.62 kB / 0.7406 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003678/0.6515, allocations: 264.6 kB / 0.7408 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.005e-05/0.6515, allocations: 29.88 kB / 0.7408 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.165e-05/0.6516, allocations: 11.19 kB / 0.7409 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001498/0.6517, allocations: 91.69 kB / 0.7409 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.6518, allocations: 37.23 kB / 0.741 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.6518, allocations: 0 / 0.741 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0002437/0.652, allocations: 47.02 kB / 0.741 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.6521, allocations: 60.22 kB / 0.7411 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.776e-05/0.6521, allocations: 107.5 kB / 0.7412 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.6522, allocations: 25.7 kB / 0.7412 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.976e-05/0.6522, allocations: 90.31 kB / 0.7413 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.907e-06/0.6523, allocations: 6.078 kB / 0.7413 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.326e-05/0.6523, allocations: 10.47 kB / 0.7413 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.6524, allocations: 317.8 kB / 0.7416 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.606e-05/0.6524, allocations: 3.688 kB / 0.7416 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.811e-05/0.6525, allocations: 25.38 kB / 0.7416 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.894e-05/0.6525, allocations: 32.75 kB / 0.7417 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.6525, allocations: 0 / 0.7417 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.172e-05/0.6526, allocations: 56.77 kB / 0.7417 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.6526, allocations: 11.08 kB / 0.7417 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.6527, allocations: 2.812 kB / 0.7417 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.6527, allocations: 1.406 kB / 0.7417 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.518e-05/0.6527, allocations: 10.61 kB / 0.7418 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.6527, allocations: 2.203 kB / 0.7418 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.247e-05/0.6528, allocations: 5.188 kB / 0.7418 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-06/0.6528, allocations: 2.031 kB / 0.7418 GB, free: 4.836 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.541e-05/0.6529, allocations: 109 kB / 0.7419 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.505e-05/0.6529, allocations: 1.922 kB / 0.7419 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.563e-05/0.6529, allocations: 13.11 kB / 0.7419 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.6529, allocations: 0 / 0.7419 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.6529, allocations: 0.6094 kB / 0.7419 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.653, allocations: 5.312 kB / 0.7419 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002959/0.6533, allocations: 359.7 kB / 0.7422 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.6533, allocations: 5.469 kB / 0.7422 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.525e-05/0.6533, allocations: 3.906 kB / 0.7422 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.6533, allocations: 4.75 kB / 0.7422 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.6533, allocations: 5.031 kB / 0.7422 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.6533, allocations: 4.906 kB / 0.7423 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.6533, allocations: 1.828 kB / 0.7423 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.726e-05/0.6534, allocations: 77.78 kB / 0.7423 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000141/0.6536, allocations: 78.83 kB / 0.7424 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.6536, allocations: 4.969 kB / 0.7424 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.328e-05/0.6537, allocations: 9.641 kB / 0.7424 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.359e-05/0.6537, allocations: 1.938 kB / 0.7424 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.6537, allocations: 1 kB / 0.7424 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.144e-05/0.6538, allocations: 86.41 kB / 0.7425 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6538, allocations: 1.344 kB / 0.7425 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001886/0.654, allocations: 5.219 kB / 0.7425 GB, free: 4.039 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.0001287/0.6541, allocations: 107.1 kB / 0.7426 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.795e-05/0.6542, allocations: 16.08 kB / 0.7426 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.6542, allocations: 0 / 0.7426 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.409e-05/0.6542, allocations: 8.906 kB / 0.7426 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/0.6544, allocations: 8.578 kB / 0.7426 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002955/0.6547, allocations: 159.1 kB / 0.7428 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/0.6551, allocations: 0.6758 MB / 0.7435 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.401e-05/0.6551, allocations: 8.938 kB / 0.7435 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of SimCode: time 3.31e-07/0.6551, allocations: 0 / 0.7435 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of Templates: time 0.001942/0.6571, allocations: 0.6119 MB / 0.7441 GB, free: 3.051 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)