Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.001192/0.001192, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001352/0.001352, allocations: 193.6 kB / 16.13 MB, free: 6.656 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.433/1.433, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.911/2.911, allocations: 472.6 MB / 0.7447 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 67.11 kB / 0.9114 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3499, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.004555/0.3545, allocations: 1.942 MB / 1.069 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002758/0.3573, allocations: 1.557 MB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001326/0.3574, allocations: 3.938 kB / 1.071 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000297/0.3578, allocations: 23.84 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003081/0.3581, allocations: 59.75 kB / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004961/0.3586, allocations: 158.7 kB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003399/0.359, allocations: 257.4 kB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.3591, allocations: 33.39 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001441/0.3593, allocations: 87.75 kB / 1.072 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002518/0.3595, allocations: 99.64 kB / 1.072 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.676e-05/0.3596, allocations: 12 kB / 1.072 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002065/0.3598, allocations: 75.95 kB / 1.072 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.408e-05/0.3599, allocations: 75.8 kB / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000127/0.36, allocations: 115.3 kB / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000437/0.3605, allocations: 307 kB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3605, allocations: 0 / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.233e-06/0.3605, allocations: 0 / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.3605, allocations: 0 / 1.072 GB, free: 6.113 MB / 0.8262 GB 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.001032/0.3615, allocations: 0.5694 MB / 1.073 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.3616, allocations: 8.031 kB / 1.073 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002006/0.3618, allocations: 32.59 kB / 1.073 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003175/0.3621, allocations: 278.7 kB / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.3622, allocations: 12.38 kB / 1.073 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.009e-05/0.3622, allocations: 20.12 kB / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004024/0.3626, allocations: 240.9 kB / 1.073 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.3626, allocations: 0 / 1.073 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.993e-05/0.3627, allocations: 4 kB / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.3627, allocations: 11.94 kB / 1.073 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009115/0.3636, allocations: 0.749 MB / 1.074 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/0.3647, allocations: 0.6447 MB / 1.075 GB, free: 3.395 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005095/0.3652, allocations: 313.9 kB / 1.075 GB, free: 3.082 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001687/0.3654, allocations: 109.4 kB / 1.075 GB, free: 2.973 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.486e-05/0.3655, allocations: 16.25 kB / 1.075 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004238/0.3659, allocations: 187.4 kB / 1.075 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=35): time 2.384e-06/0.3659, allocations: 0 / 1.075 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of matching and sorting (n=35): time 0.0007366/0.3667, allocations: 375 kB / 1.076 GB, free: 2.391 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.645e-05/0.3668, allocations: 144.5 kB / 1.076 GB, free: 2.219 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000317/0.3671, allocations: 305 kB / 1.076 GB, free: 1.906 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.387e-05/0.3671, allocations: 29.7 kB / 1.076 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.3672, allocations: 132.7 kB / 1.076 GB, free: 1.734 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.62e-05/0.3673, allocations: 122.3 kB / 1.076 GB, free: 1.613 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000148/0.3675, allocations: 65.69 kB / 1.076 GB, free: 1.543 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.3677, allocations: 334.8 kB / 1.077 GB, free: 1.207 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.3678, allocations: 83.89 kB / 1.077 GB, free: 1.125 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002018/0.368, allocations: 135.5 kB / 1.077 GB, free: 0.9805 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003339/0.3684, allocations: 213.2 kB / 1.077 GB, free: 0.7695 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3684, allocations: 0 / 1.077 GB, free: 0.7695 MB / 0.8262 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004566/0.3688, allocations: 281 kB / 1.077 GB, free: 500 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.3689, allocations: 4 kB / 1.077 GB, free: 496 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.3689, allocations: 7.938 kB / 1.077 GB, free: 488 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.3689, allocations: 0 / 1.077 GB, free: 488 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002246/0.3691, allocations: 67.91 kB / 1.077 GB, free: 420 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.3691, allocations: 0 / 1.077 GB, free: 420 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/0.3693, allocations: 33.94 kB / 1.077 GB, free: 388 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.692e-05/0.3693, allocations: 15.98 kB / 1.078 GB, free: 372 kB / 0.8262 GB 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.0001483/0.3695, allocations: 163.4 kB / 1.078 GB, free: 200 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.043e-05/0.3696, allocations: 27.62 kB / 1.078 GB, free: 172 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006596/0.3702, allocations: 392.5 kB / 1.078 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.3702, allocations: 8 kB / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3703, allocations: 0 / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.3703, allocations: 3.984 kB / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003288/0.3706, allocations: 345.2 kB / 1.078 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.3706, allocations: 0 / 1.078 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001752/0.3708, allocations: 55.91 kB / 1.078 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.3708, allocations: 4 kB / 1.078 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.814e-05/0.3708, allocations: 15.92 kB / 1.078 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.3708, allocations: 0 / 1.078 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3709, allocations: 0 / 1.078 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004912/0.3713, allocations: 334.1 kB / 1.079 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/0.3715, allocations: 140.7 kB / 1.079 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.655e-05/0.3716, allocations: 11.94 kB / 1.079 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/0.3717, allocations: 27.97 kB / 1.079 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.931e-05/0.3718, allocations: 19.97 kB / 1.079 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.922e-05/0.3718, allocations: 12 kB / 1.079 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.00021/0.3721, allocations: 240.4 kB / 1.079 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of sort global known variables: time 6.32e-07/0.3721, allocations: 4 kB / 1.079 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003096/0.3724, allocations: 59.98 kB / 1.079 GB, free: 14.44 MB / 0.8419 GB 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.0009801/0.3734, allocations: 415.9 kB / 1.08 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004189/0.3738, allocations: 231.5 kB / 1.08 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.3738, allocations: 0 / 1.08 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001955/0.374, allocations: 127.8 kB / 1.08 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003097/0.3743, allocations: 47.61 kB / 1.08 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008737/0.3752, allocations: 0.6174 MB / 1.081 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/0.3756, allocations: 0.7653 MB / 1.081 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003476/0.3759, allocations: 146.8 kB / 1.082 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.755e-05/0.376, allocations: 47.41 kB / 1.082 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of SimCode: time 6.91e-07/0.376, allocations: 0 / 1.082 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of Templates: time 0.007702/0.3837, allocations: 3.275 MB / 1.085 GB, free: 8.91 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)