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.001417/0.001417, allocations: 108 kB / 15.6 MB, free: 132 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.001581/0.001581, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.356/1.356, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.782/2.782, allocations: 472.6 MB / 0.7451 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002203/0.002203, allocations: 58.8 kB / 0.912 GB, free: 33.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3488, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003208/0.352, allocations: 1.876 MB / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002195/0.3542, allocations: 1.58 MB / 1.072 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.015e-05/0.3543, allocations: 0 / 1.072 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002028/0.3546, allocations: 35.77 kB / 1.072 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003194/0.3549, allocations: 75.55 kB / 1.072 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004832/0.3554, allocations: 167.1 kB / 1.072 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003019/0.3557, allocations: 285.4 kB / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.3558, allocations: 25.39 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.356, allocations: 95.75 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000245/0.3562, allocations: 111.6 kB / 1.072 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.888e-05/0.3563, allocations: 20 kB / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001996/0.3565, allocations: 83.97 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.3566, allocations: 91.8 kB / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001358/0.3567, allocations: 123.3 kB / 1.073 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003693/0.3571, allocations: 315 kB / 1.073 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3571, allocations: 0 / 1.073 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3571, allocations: 0 / 1.073 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.3572, allocations: 0 / 1.073 GB, free: 5.508 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.000762/0.3579, allocations: 0.5616 MB / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.358, allocations: 12.03 kB / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001679/0.3581, allocations: 32.59 kB / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002849/0.3584, allocations: 274.7 kB / 1.074 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.3585, allocations: 12.38 kB / 1.074 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.834e-05/0.3585, allocations: 24.11 kB / 1.074 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003859/0.3589, allocations: 236.9 kB / 1.074 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.3589, allocations: 4 kB / 1.074 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.795e-05/0.3589, allocations: 11.98 kB / 1.074 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.359, allocations: 4 kB / 1.074 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008097/0.3598, allocations: 0.7568 MB / 1.075 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009659/0.3607, allocations: 0.6369 MB / 1.075 GB, free: 2.793 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004696/0.3612, allocations: 318.3 kB / 1.076 GB, free: 2.477 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001653/0.3614, allocations: 109.4 kB / 1.076 GB, free: 2.367 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.348e-05/0.3615, allocations: 20.25 kB / 1.076 GB, free: 2.348 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002954/0.3618, allocations: 183.4 kB / 1.076 GB, free: 2.156 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=35): time 2.094e-06/0.3618, allocations: 0 / 1.076 GB, free: 2.156 MB / 0.8262 GB Notification: Performance of matching and sorting (n=35): time 0.0006486/0.3624, allocations: 379 kB / 1.076 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.141e-05/0.3625, allocations: 140.5 kB / 1.076 GB, free: 1.613 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002804/0.3628, allocations: 305 kB / 1.077 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/0.3628, allocations: 33.7 kB / 1.077 GB, free: 1.262 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.724e-05/0.3629, allocations: 128.7 kB / 1.077 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.941e-05/0.363, allocations: 122.3 kB / 1.077 GB, free: 1.008 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.632e-05/0.3631, allocations: 61.69 kB / 1.077 GB, free: 0.9414 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.3632, allocations: 338.8 kB / 1.077 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/0.3634, allocations: 79.95 kB / 1.078 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001747/0.3635, allocations: 135.5 kB / 1.078 GB, free: 388 kB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003067/0.3639, allocations: 213.2 kB / 1.078 GB, free: 172 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.3639, allocations: 0 / 1.078 GB, free: 172 kB / 0.8262 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004368/0.3643, allocations: 285 kB / 1.078 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.3643, allocations: 4 kB / 1.078 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.3644, allocations: 7.922 kB / 1.078 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.3644, allocations: 0 / 1.078 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002227/0.3646, allocations: 67.89 kB / 1.078 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.3646, allocations: 8 kB / 1.078 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001505/0.3648, allocations: 19.84 kB / 1.078 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.671e-05/0.3648, allocations: 11.98 kB / 1.078 GB, free: 15.77 MB / 0.8419 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.0001505/0.365, allocations: 169.7 kB / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.705e-05/0.365, allocations: 31.62 kB / 1.078 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006458/0.3657, allocations: 392.5 kB / 1.079 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.3657, allocations: 4 kB / 1.079 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.3657, allocations: 0 / 1.079 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.3657, allocations: 3.984 kB / 1.079 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003029/0.366, allocations: 353.2 kB / 1.079 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.366, allocations: 0 / 1.079 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001789/0.3662, allocations: 55.92 kB / 1.079 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.3662, allocations: 3.984 kB / 1.079 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.3662, allocations: 11.94 kB / 1.079 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.165e-06/0.3663, allocations: 4 kB / 1.079 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.3663, allocations: 0 / 1.079 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004529/0.3667, allocations: 330.1 kB / 1.08 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001321/0.3669, allocations: 144.7 kB / 1.08 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.262e-05/0.3669, allocations: 7.938 kB / 1.08 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001839/0.3671, allocations: 27.91 kB / 1.08 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.515e-05/0.3672, allocations: 23.97 kB / 1.08 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-05/0.3672, allocations: 19.98 kB / 1.08 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001907/0.3674, allocations: 236.5 kB / 1.08 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3674, allocations: 0 / 1.08 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002929/0.3677, allocations: 67.98 kB / 1.08 GB, free: 13.82 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.000878/0.3686, allocations: 399.7 kB / 1.08 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004938/0.3691, allocations: 303.5 kB / 1.081 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.3691, allocations: 0 / 1.081 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001898/0.3693, allocations: 132.7 kB / 1.081 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.3696, allocations: 49.92 kB / 1.081 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007897/0.3704, allocations: 0.5368 MB / 1.081 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002883/0.3707, allocations: 0.7619 MB / 1.082 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003326/0.371, allocations: 146.8 kB / 1.082 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.1e-05/0.3711, allocations: 43.42 kB / 1.082 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of SimCode: time 1.9e-07/0.3711, allocations: 0 / 1.082 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of Templates: time 0.006847/0.378, allocations: 3.388 MB / 1.086 GB, free: 8.211 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)