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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 182.7 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4829/0.4829, allocations: 87.5 MB / 104.9 MB, free: 13.03 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 222.9 MB / 349.1 MB, free: 2.766 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000986/0.000986, allocations: 109.6 kB / 420 MB, free: 8.5 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001017/0.001017, allocations: 55.92 kB / 0.4891 GB, free: 7.703 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3546/0.3557, allocations: 70.06 MB / 0.5575 GB, free: 44.86 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003895/0.3596, allocations: 1.9 MB / 0.5594 GB, free: 43.31 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002171/0.3618, allocations: 1.555 MB / 0.5609 GB, free: 41.75 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.063e-05/0.3619, allocations: 0 / 0.5609 GB, free: 41.75 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002636/0.3622, allocations: 27.8 kB / 0.5609 GB, free: 41.72 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002425/0.3625, allocations: 63.73 kB / 0.561 GB, free: 41.66 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004271/0.3629, allocations: 148.6 kB / 0.5611 GB, free: 41.52 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002775/0.3632, allocations: 261.4 kB / 0.5613 GB, free: 41.26 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.3633, allocations: 35.2 kB / 0.5614 GB, free: 41.23 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.585e-05/0.3634, allocations: 75.83 kB / 0.5615 GB, free: 41.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002156/0.3637, allocations: 103.7 kB / 0.5616 GB, free: 41.05 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.632e-05/0.3637, allocations: 8 kB / 0.5616 GB, free: 41.05 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001629/0.3639, allocations: 83.91 kB / 0.5616 GB, free: 40.96 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.498e-05/0.364, allocations: 79.73 kB / 0.5617 GB, free: 40.89 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.442e-05/0.3641, allocations: 103.3 kB / 0.5618 GB, free: 40.79 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002637/0.3643, allocations: 307 kB / 0.5621 GB, free: 40.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3643, allocations: 0 / 0.5621 GB, free: 40.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.3643, allocations: 4 kB / 0.5621 GB, free: 40.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.249e-06/0.3644, allocations: 0 / 0.5621 GB, free: 40.48 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0006677/0.365, allocations: 0.55 MB / 0.5626 GB, free: 39.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.3651, allocations: 12.03 kB / 0.5627 GB, free: 39.87 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001463/0.3652, allocations: 28.66 kB / 0.5627 GB, free: 39.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.3655, allocations: 274.7 kB / 0.563 GB, free: 39.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.3655, allocations: 16.31 kB / 0.563 GB, free: 39.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/0.3655, allocations: 28.12 kB / 0.563 GB, free: 39.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002925/0.3658, allocations: 232.5 kB / 0.5632 GB, free: 39.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.3658, allocations: 0 / 0.5632 GB, free: 39.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.254e-05/0.3659, allocations: 8 kB / 0.5632 GB, free: 39.24 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.3659, allocations: 4 kB / 0.5632 GB, free: 39.24 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006251/0.3665, allocations: 0.7451 MB / 0.564 GB, free: 38.49 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008832/0.3674, allocations: 0.6367 MB / 0.5646 GB, free: 37.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003936/0.3678, allocations: 309.9 kB / 0.5649 GB, free: 37.49 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001313/0.3679, allocations: 109.4 kB / 0.565 GB, free: 37.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.614e-05/0.368, allocations: 20.25 kB / 0.565 GB, free: 37.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003337/0.3683, allocations: 181 kB / 0.5652 GB, free: 37.17 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 1.734e-06/0.3683, allocations: 0 / 0.5652 GB, free: 37.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.0005656/0.3689, allocations: 380.7 kB / 0.5655 GB, free: 36.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/0.369, allocations: 136.5 kB / 0.5657 GB, free: 36.63 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002202/0.3692, allocations: 309 kB / 0.566 GB, free: 36.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.3692, allocations: 33.7 kB / 0.566 GB, free: 36.28 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.098e-05/0.3693, allocations: 128.7 kB / 0.5661 GB, free: 36.14 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.161e-05/0.3694, allocations: 122.3 kB / 0.5662 GB, free: 36.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.415e-05/0.3695, allocations: 65.69 kB / 0.5663 GB, free: 35.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.433e-05/0.3695, allocations: 334.8 kB / 0.5666 GB, free: 35.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.3696, allocations: 79.95 kB / 0.5667 GB, free: 35.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.3698, allocations: 136.4 kB / 0.5668 GB, free: 35.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002427/0.37, allocations: 209.2 kB / 0.567 GB, free: 35.19 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3701, allocations: 0 / 0.567 GB, free: 35.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003382/0.3704, allocations: 288.9 kB / 0.5673 GB, free: 34.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.3704, allocations: 4 kB / 0.5673 GB, free: 34.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3704, allocations: 0 / 0.5673 GB, free: 34.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.3704, allocations: 3.938 kB / 0.5673 GB, free: 34.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002/0.3707, allocations: 71.89 kB / 0.5674 GB, free: 34.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.3707, allocations: 0 / 0.5674 GB, free: 34.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000132/0.3708, allocations: 28.83 kB / 0.5674 GB, free: 34.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.377e-05/0.3708, allocations: 11.98 kB / 0.5674 GB, free: 34.78 MB / 410.7 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.000124/0.371, allocations: 161.8 kB / 0.5676 GB, free: 34.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.514e-05/0.371, allocations: 31.75 kB / 0.5676 GB, free: 34.58 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005535/0.3716, allocations: 384.8 kB / 0.568 GB, free: 34.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.3716, allocations: 7.938 kB / 0.568 GB, free: 34.19 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.3716, allocations: 0 / 0.568 GB, free: 34.19 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.3716, allocations: 7.984 kB / 0.568 GB, free: 34.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002314/0.3718, allocations: 341.2 kB / 0.5683 GB, free: 33.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3719, allocations: 0 / 0.5683 GB, free: 33.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001495/0.372, allocations: 59.91 kB / 0.5684 GB, free: 33.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.372, allocations: 7.938 kB / 0.5684 GB, free: 33.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.372, allocations: 15.92 kB / 0.5684 GB, free: 33.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.3721, allocations: 3.938 kB / 0.5684 GB, free: 33.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3721, allocations: 0 / 0.5684 GB, free: 33.71 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006637/0.3727, allocations: 1.023 MB / 0.5694 GB, free: 32.63 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.3728, allocations: 152.6 kB / 0.5695 GB, free: 32.46 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.547e-05/0.3729, allocations: 4 kB / 0.5695 GB, free: 32.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.3731, allocations: 23.92 kB / 0.5696 GB, free: 32.44 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.114e-05/0.3731, allocations: 31.95 kB / 0.5696 GB, free: 32.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.439e-05/0.3731, allocations: 8 kB / 0.5696 GB, free: 32.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001379/0.3733, allocations: 240.4 kB / 0.5698 GB, free: 32.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3733, allocations: 0 / 0.5698 GB, free: 32.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000378/0.3737, allocations: 68 kB / 0.5699 GB, free: 32.09 MB / 410.7 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.0008602/0.3745, allocations: 406.1 kB / 0.5703 GB, free: 31.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003373/0.3749, allocations: 232.1 kB / 0.5705 GB, free: 31.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3749, allocations: 0 / 0.5705 GB, free: 31.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001535/0.3751, allocations: 135.8 kB / 0.5706 GB, free: 31.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.3754, allocations: 48.28 kB / 0.5707 GB, free: 31.43 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008443/0.3762, allocations: 0.8456 MB / 0.5715 GB, free: 30.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002142/0.3765, allocations: 0.7697 MB / 0.5722 GB, free: 29.76 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003029/0.3768, allocations: 142.9 kB / 0.5724 GB, free: 29.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.108e-05/0.3769, allocations: 43.42 kB / 0.5724 GB, free: 29.57 MB / 410.7 MB Notification: Performance of SimCode: time 2.91e-07/0.3769, allocations: 0 / 0.5724 GB, free: 29.57 MB / 410.7 MB Notification: Performance of Templates: time 0.006284/0.3832, allocations: 3.356 MB / 0.5757 GB, free: 26.25 MB / 410.7 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)