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.001111/0.001111, allocations: 109.4 kB / 17.03 MB, free: 5.66 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.001163/0.001163, allocations: 196.1 kB / 17.97 MB, free: 5.062 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.384/1.384, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7431/0.7431, allocations: 115.1 MB / 406.9 MB, free: 6.348 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 67.88 kB / 494.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3542/0.3557, allocations: 76.14 MB / 0.5576 GB, free: 36.72 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.00334/0.3591, allocations: 1.858 MB / 0.5594 GB, free: 35.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00214/0.3613, allocations: 1.58 MB / 0.5609 GB, free: 34.35 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.522e-05/0.3614, allocations: 1.344 kB / 0.5609 GB, free: 34.35 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002479/0.3616, allocations: 29.39 kB / 0.561 GB, free: 34.33 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003303/0.362, allocations: 78.08 kB / 0.561 GB, free: 34.29 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004796/0.3625, allocations: 173.4 kB / 0.5612 GB, free: 34.2 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003349/0.3628, allocations: 275.6 kB / 0.5615 GB, free: 34.08 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.363, allocations: 33.62 kB / 0.5615 GB, free: 34.07 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.3631, allocations: 94.48 kB / 0.5616 GB, free: 34.03 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002438/0.3633, allocations: 110 kB / 0.5617 GB, free: 33.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.532e-05/0.3634, allocations: 21 kB / 0.5617 GB, free: 33.98 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001929/0.3636, allocations: 81.81 kB / 0.5618 GB, free: 33.96 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.3637, allocations: 91.06 kB / 0.5619 GB, free: 33.92 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001287/0.3639, allocations: 126.8 kB / 0.562 GB, free: 33.84 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004091/0.3643, allocations: 323.8 kB / 0.5623 GB, free: 33.71 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.3643, allocations: 1.781 kB / 0.5623 GB, free: 33.71 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3643, allocations: 0 / 0.5623 GB, free: 33.71 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.3643, allocations: 0 / 0.5623 GB, free: 33.71 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.0007692/0.3651, allocations: 0.558 MB / 0.5629 GB, free: 33.22 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.3651, allocations: 9.125 kB / 0.5629 GB, free: 33.22 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001579/0.3653, allocations: 34.86 kB / 0.5629 GB, free: 33.21 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002684/0.3656, allocations: 281.9 kB / 0.5632 GB, free: 32.94 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.3656, allocations: 16.88 kB / 0.5632 GB, free: 32.93 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.084e-05/0.3657, allocations: 24.75 kB / 0.5632 GB, free: 32.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000391/0.3661, allocations: 238.9 kB / 0.5634 GB, free: 32.8 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.3661, allocations: 1.094 kB / 0.5634 GB, free: 32.8 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.853e-05/0.3661, allocations: 6.156 kB / 0.5634 GB, free: 32.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.3661, allocations: 4.469 kB / 0.5634 GB, free: 32.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001043/0.3672, allocations: 0.75 MB / 0.5642 GB, free: 32.71 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001105/0.3683, allocations: 0.6273 MB / 0.5648 GB, free: 32.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004972/0.3688, allocations: 312 kB / 0.5651 GB, free: 32.19 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001725/0.369, allocations: 112.6 kB / 0.5652 GB, free: 32.14 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.351e-05/0.369, allocations: 20.11 kB / 0.5652 GB, free: 32.14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004009/0.3694, allocations: 186.4 kB / 0.5654 GB, free: 32.05 MB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 1.873e-06/0.3695, allocations: 0 / 0.5654 GB, free: 32.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.0007101/0.3702, allocations: 378.3 kB / 0.5657 GB, free: 31.9 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.541e-05/0.3702, allocations: 133.1 kB / 0.5659 GB, free: 31.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000297/0.3705, allocations: 310.2 kB / 0.5662 GB, free: 31.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.3706, allocations: 33.73 kB / 0.5662 GB, free: 31.55 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.532e-05/0.3707, allocations: 138.1 kB / 0.5663 GB, free: 31.43 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.14e-05/0.3707, allocations: 114.7 kB / 0.5664 GB, free: 31.34 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.83e-05/0.3708, allocations: 67.67 kB / 0.5665 GB, free: 31.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.241e-05/0.3709, allocations: 339.9 kB / 0.5668 GB, free: 30.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/0.3711, allocations: 84.11 kB / 0.5669 GB, free: 30.95 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001832/0.3713, allocations: 137.5 kB / 0.567 GB, free: 30.88 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003298/0.3716, allocations: 213 kB / 0.5672 GB, free: 30.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3716, allocations: 1.5 kB / 0.5672 GB, free: 30.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004871/0.3721, allocations: 283.9 kB / 0.5675 GB, free: 30.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.3722, allocations: 5.203 kB / 0.5675 GB, free: 30.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.3722, allocations: 5.031 kB / 0.5675 GB, free: 30.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.3722, allocations: 2.25 kB / 0.5675 GB, free: 30.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002387/0.3724, allocations: 61.16 kB / 0.5676 GB, free: 30.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.3725, allocations: 6.984 kB / 0.5676 GB, free: 30.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001609/0.3726, allocations: 31.02 kB / 0.5676 GB, free: 30.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.939e-05/0.3727, allocations: 9.891 kB / 0.5676 GB, free: 30.65 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.0001546/0.3728, allocations: 164.4 kB / 0.5678 GB, free: 30.51 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.329e-05/0.3729, allocations: 30.06 kB / 0.5678 GB, free: 30.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006669/0.3736, allocations: 389.4 kB / 0.5682 GB, free: 30.33 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.3736, allocations: 4.891 kB / 0.5682 GB, free: 30.33 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3736, allocations: 0.8125 kB / 0.5682 GB, free: 30.33 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.3736, allocations: 1.781 kB / 0.5682 GB, free: 30.33 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003055/0.3739, allocations: 340.2 kB / 0.5685 GB, free: 30.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3739, allocations: 3.25 kB / 0.5685 GB, free: 30.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001815/0.3741, allocations: 57.05 kB / 0.5686 GB, free: 30.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.3741, allocations: 6.25 kB / 0.5686 GB, free: 30.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/0.3741, allocations: 14.52 kB / 0.5686 GB, free: 30.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.3741, allocations: 1.375 kB / 0.5686 GB, free: 30.06 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3741, allocations: 0 / 0.5686 GB, free: 30.06 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004554/0.3746, allocations: 328.9 kB / 0.5689 GB, free: 29.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.3748, allocations: 148.4 kB / 0.5691 GB, free: 29.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.497e-05/0.3748, allocations: 10.59 kB / 0.5691 GB, free: 29.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001799/0.375, allocations: 26.05 kB / 0.5691 GB, free: 29.76 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.793e-05/0.3751, allocations: 25.59 kB / 0.5691 GB, free: 29.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-05/0.3751, allocations: 13.45 kB / 0.5691 GB, free: 29.76 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002011/0.3753, allocations: 241.2 kB / 0.5694 GB, free: 29.63 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3753, allocations: 1.188 kB / 0.5694 GB, free: 29.63 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003235/0.3757, allocations: 71.69 kB / 0.5694 GB, free: 29.61 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.0009849/0.3766, allocations: 406.3 kB / 0.5698 GB, free: 29.46 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004349/0.3771, allocations: 232.7 kB / 0.57 GB, free: 29.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3771, allocations: 0.5 kB / 0.57 GB, free: 29.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002073/0.3773, allocations: 131.3 kB / 0.5702 GB, free: 29.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.3776, allocations: 43.3 kB / 0.5702 GB, free: 29.34 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008265/0.3785, allocations: 0.5197 MB / 0.5707 GB, free: 29.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002291/0.3787, allocations: 0.767 MB / 0.5715 GB, free: 28.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003486/0.3791, allocations: 143 kB / 0.5716 GB, free: 28.35 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.06e-05/0.3792, allocations: 50.2 kB / 0.5716 GB, free: 28.33 MB / 446.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3792, allocations: 0.5625 kB / 0.5716 GB, free: 28.33 MB / 446.1 MB Notification: Performance of Templates: time 0.00784/0.387, allocations: 3.393 MB / 0.575 GB, free: 28.04 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)