Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 99.36 kB / 16.26 MB, free: 5.934 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.001024/0.001024, allocations: 186 kB / 17.2 MB, free: 5.574 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.34/1.34, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7577/0.7577, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 59.91 kB / 0.4911 GB, free: 7.418 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4125/0.4145, allocations: 77.92 MB / 0.5672 GB, free: 32.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.004369/0.419, allocations: 1.858 MB / 0.569 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002645/0.4216, allocations: 1.589 MB / 0.5706 GB, free: 30.3 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.4218, allocations: 1.219 kB / 0.5706 GB, free: 30.3 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002796/0.4221, allocations: 21.62 kB / 0.5706 GB, free: 30.29 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00041/0.4225, allocations: 81.94 kB / 0.5707 GB, free: 30.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006607/0.4232, allocations: 171.9 kB / 0.5708 GB, free: 30.15 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004669/0.4237, allocations: 276.7 kB / 0.5711 GB, free: 30.03 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001801/0.4238, allocations: 33.7 kB / 0.5711 GB, free: 30.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.424, allocations: 94.45 kB / 0.5712 GB, free: 29.98 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003237/0.4243, allocations: 114.8 kB / 0.5713 GB, free: 29.93 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.584e-05/0.4244, allocations: 19.31 kB / 0.5713 GB, free: 29.93 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002535/0.4247, allocations: 83.67 kB / 0.5714 GB, free: 29.91 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001613/0.4248, allocations: 92.44 kB / 0.5715 GB, free: 29.87 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001714/0.425, allocations: 121.2 kB / 0.5716 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000647/0.4257, allocations: 315.9 kB / 0.5719 GB, free: 29.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.4257, allocations: 0 / 0.5719 GB, free: 29.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.756e-06/0.4257, allocations: 0.625 kB / 0.5719 GB, free: 29.66 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.172e-05/0.4257, allocations: 0 / 0.5719 GB, free: 29.66 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001124/0.4268, allocations: 0.5643 MB / 0.5725 GB, free: 29.17 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.852e-05/0.4269, allocations: 9.562 kB / 0.5725 GB, free: 29.17 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002529/0.4272, allocations: 29.53 kB / 0.5725 GB, free: 29.16 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004076/0.4276, allocations: 276.8 kB / 0.5728 GB, free: 28.9 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.049e-05/0.4276, allocations: 17.02 kB / 0.5728 GB, free: 28.89 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.474e-05/0.4277, allocations: 23.69 kB / 0.5728 GB, free: 28.88 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006103/0.4283, allocations: 246.5 kB / 0.5731 GB, free: 28.75 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.4283, allocations: 5.047 kB / 0.5731 GB, free: 28.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.498e-05/0.4284, allocations: 6.781 kB / 0.5731 GB, free: 28.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.863e-05/0.4284, allocations: 5.219 kB / 0.5731 GB, free: 28.75 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001698/0.4301, allocations: 0.7452 MB / 0.5738 GB, free: 28.66 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001517/0.4317, allocations: 0.6382 MB / 0.5744 GB, free: 28.24 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007144/0.4324, allocations: 310.3 kB / 0.5747 GB, free: 28.13 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002357/0.4326, allocations: 114.8 kB / 0.5748 GB, free: 28.09 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.706e-05/0.4327, allocations: 17 kB / 0.5748 GB, free: 28.08 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005751/0.4333, allocations: 180.8 kB / 0.575 GB, free: 27.99 MB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 3.116e-06/0.4333, allocations: 1.875 kB / 0.575 GB, free: 27.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.0009305/0.4342, allocations: 375.2 kB / 0.5754 GB, free: 27.85 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.098e-05/0.4343, allocations: 134.2 kB / 0.5755 GB, free: 27.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004808/0.4348, allocations: 308.9 kB / 0.5758 GB, free: 27.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.759e-05/0.4349, allocations: 32.7 kB / 0.5758 GB, free: 27.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.435, allocations: 143.6 kB / 0.576 GB, free: 27.37 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/0.4352, allocations: 119.2 kB / 0.5761 GB, free: 27.28 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001417/0.4353, allocations: 63.22 kB / 0.5761 GB, free: 27.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.4355, allocations: 339.1 kB / 0.5765 GB, free: 26.92 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/0.4357, allocations: 79.58 kB / 0.5765 GB, free: 26.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002528/0.4359, allocations: 139.6 kB / 0.5767 GB, free: 26.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004364/0.4364, allocations: 211.5 kB / 0.5769 GB, free: 26.74 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.4364, allocations: 1.156 kB / 0.5769 GB, free: 26.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005507/0.4369, allocations: 282.8 kB / 0.5771 GB, free: 26.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.001e-05/0.437, allocations: 6.203 kB / 0.5771 GB, free: 26.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.437, allocations: 5.219 kB / 0.5772 GB, free: 26.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.437, allocations: 1.375 kB / 0.5772 GB, free: 26.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002828/0.4373, allocations: 61.59 kB / 0.5772 GB, free: 26.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/0.4373, allocations: 1.891 kB / 0.5772 GB, free: 26.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001618/0.4375, allocations: 28.86 kB / 0.5772 GB, free: 26.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.595e-05/0.4375, allocations: 10.36 kB / 0.5773 GB, free: 26.6 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0002161/0.4378, allocations: 165.3 kB / 0.5774 GB, free: 26.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.64e-05/0.4378, allocations: 30.22 kB / 0.5774 GB, free: 26.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007932/0.4386, allocations: 390.7 kB / 0.5778 GB, free: 26.29 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.4386, allocations: 4.75 kB / 0.5778 GB, free: 26.29 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/0.4387, allocations: 1.953 kB / 0.5778 GB, free: 26.29 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.4387, allocations: 1.594 kB / 0.5778 GB, free: 26.29 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004298/0.4391, allocations: 339.4 kB / 0.5781 GB, free: 26.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.4391, allocations: 2.078 kB / 0.5781 GB, free: 26.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002091/0.4393, allocations: 62.77 kB / 0.5782 GB, free: 26.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.4394, allocations: 5.062 kB / 0.5782 GB, free: 26.02 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.482e-05/0.4394, allocations: 14.75 kB / 0.5782 GB, free: 26.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.289e-06/0.4394, allocations: 1.281 kB / 0.5782 GB, free: 26.01 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.4394, allocations: 1.234 kB / 0.5782 GB, free: 26.01 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005711/0.44, allocations: 331.2 kB / 0.5785 GB, free: 25.85 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001377/0.4401, allocations: 144 kB / 0.5787 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.405e-05/0.4402, allocations: 13.25 kB / 0.5787 GB, free: 25.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/0.4404, allocations: 21.8 kB / 0.5787 GB, free: 25.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.722e-05/0.4405, allocations: 25.86 kB / 0.5787 GB, free: 25.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-05/0.4405, allocations: 17.44 kB / 0.5788 GB, free: 25.71 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002591/0.4408, allocations: 236.6 kB / 0.579 GB, free: 25.58 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.4408, allocations: 1.25 kB / 0.579 GB, free: 25.58 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000355/0.4411, allocations: 67.67 kB / 0.579 GB, free: 25.56 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.00104/0.4422, allocations: 402.7 kB / 0.5794 GB, free: 25.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006216/0.4428, allocations: 305.7 kB / 0.5797 GB, free: 25.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4428, allocations: 0 / 0.5797 GB, free: 25.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002289/0.4431, allocations: 136.8 kB / 0.5799 GB, free: 25.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003153/0.4434, allocations: 38.23 kB / 0.5799 GB, free: 25.28 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.4444, allocations: 0.5307 MB / 0.5804 GB, free: 25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.4447, allocations: 0.7697 MB / 0.5812 GB, free: 24.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003723/0.4451, allocations: 150.2 kB / 0.5813 GB, free: 24.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.4452, allocations: 44.34 kB / 0.5813 GB, free: 24.25 MB / 446.1 MB Notification: Performance of SimCode: time 1.9e-07/0.4452, allocations: 0 / 0.5813 GB, free: 24.25 MB / 446.1 MB Notification: Performance of Templates: time 0.006859/0.4521, allocations: 3.401 MB / 0.5847 GB, free: 22.68 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)