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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.00162/0.00162, allocations: 108 kB / 15.61 MB, free: 152 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.002121/0.002121, allocations: 194.3 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.566/1.566, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.7068/0.7068, allocations: 95.49 MB / 365.2 MB, free: 9.867 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002754/0.002754, allocations: 71.89 kB / 445.3 MB, free: 9.598 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3606/0.3634, allocations: 69.08 MB / 0.5024 GB, free: 17.38 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.004382/0.3678, allocations: 1.791 MB / 0.5041 GB, free: 15.58 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002137/0.37, allocations: 1.375 MB / 0.5055 GB, free: 14.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000115/0.3701, allocations: 0 / 0.5055 GB, free: 14.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002421/0.3704, allocations: 27.8 kB / 0.5055 GB, free: 14.17 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002877/0.3707, allocations: 55.69 kB / 0.5055 GB, free: 14.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003838/0.3711, allocations: 127.4 kB / 0.5057 GB, free: 13.99 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002958/0.3714, allocations: 249.5 kB / 0.5059 GB, free: 13.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.3716, allocations: 29.95 kB / 0.5059 GB, free: 13.72 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.455e-05/0.3717, allocations: 79.83 kB / 0.506 GB, free: 13.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.3718, allocations: 95.7 kB / 0.5061 GB, free: 13.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.647e-05/0.3719, allocations: 19.94 kB / 0.5061 GB, free: 13.53 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001636/0.372, allocations: 67.98 kB / 0.5062 GB, free: 13.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.231e-05/0.3721, allocations: 79.73 kB / 0.5063 GB, free: 13.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.3722, allocations: 115.4 kB / 0.5064 GB, free: 13.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003306/0.3726, allocations: 287.1 kB / 0.5066 GB, free: 12.99 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3726, allocations: 0 / 0.5066 GB, free: 12.99 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3726, allocations: 0 / 0.5066 GB, free: 12.99 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.3726, allocations: 0 / 0.5066 GB, free: 12.99 MB / 382.1 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.0007657/0.3734, allocations: 0.5625 MB / 0.5072 GB, free: 12.37 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.3734, allocations: 11.98 kB / 0.5072 GB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001804/0.3736, allocations: 32.56 kB / 0.5072 GB, free: 12.33 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.3738, allocations: 279.5 kB / 0.5075 GB, free: 12.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.3739, allocations: 19.94 kB / 0.5075 GB, free: 12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.424e-05/0.3739, allocations: 16 kB / 0.5075 GB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003187/0.3742, allocations: 216.4 kB / 0.5077 GB, free: 11.76 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.3742, allocations: 0 / 0.5077 GB, free: 11.76 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.475e-05/0.3743, allocations: 4 kB / 0.5077 GB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.3743, allocations: 7.984 kB / 0.5078 GB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006316/0.3749, allocations: 0.7412 MB / 0.5085 GB, free: 11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006995/0.3756, allocations: 0.59 MB / 0.5091 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003874/0.376, allocations: 304.2 kB / 0.5093 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001342/0.3762, allocations: 109.4 kB / 0.5094 GB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.789e-05/0.3762, allocations: 20.25 kB / 0.5095 GB, free: 9.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003377/0.3766, allocations: 187.3 kB / 0.5096 GB, free: 9.734 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 1.694e-06/0.3766, allocations: 0 / 0.5096 GB, free: 9.734 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.0005514/0.3771, allocations: 368.9 kB / 0.51 GB, free: 9.367 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.3772, allocations: 85.05 kB / 0.5101 GB, free: 9.266 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.3774, allocations: 293.4 kB / 0.5104 GB, free: 8.969 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.3774, allocations: 33.7 kB / 0.5104 GB, free: 8.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.573e-05/0.3775, allocations: 128.6 kB / 0.5105 GB, free: 8.801 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.68e-05/0.3776, allocations: 118.4 kB / 0.5106 GB, free: 8.684 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.832e-05/0.3776, allocations: 65.69 kB / 0.5107 GB, free: 8.613 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.537e-05/0.3777, allocations: 334.8 kB / 0.511 GB, free: 8.277 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.3778, allocations: 79.95 kB / 0.5111 GB, free: 8.199 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.3779, allocations: 110.7 kB / 0.5112 GB, free: 8.086 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002543/0.3782, allocations: 238.3 kB / 0.5114 GB, free: 7.844 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3782, allocations: 0 / 0.5114 GB, free: 7.844 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003521/0.3786, allocations: 311.3 kB / 0.5117 GB, free: 7.527 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/0.3786, allocations: 33.64 kB / 0.5117 GB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.3786, allocations: 4 kB / 0.5118 GB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.3786, allocations: 0 / 0.5118 GB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/0.3788, allocations: 63.91 kB / 0.5118 GB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.3788, allocations: 0 / 0.5118 GB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.656e-05/0.3789, allocations: 27.67 kB / 0.5118 GB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.125e-05/0.379, allocations: 12 kB / 0.5118 GB, free: 7.383 MB / 382.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.tStart,$PRE.conTim.tStart,$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): 35 * Array equations: 0 * Algorithm blocks: 1 * 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.0001191/0.3791, allocations: 157.8 kB / 0.512 GB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.372e-05/0.3791, allocations: 43.58 kB / 0.512 GB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.686e-05/0.3792, allocations: 38.66 kB / 0.5121 GB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.3792, allocations: 4 kB / 0.5121 GB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.3793, allocations: 0 / 0.5121 GB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.3793, allocations: 3.984 kB / 0.5121 GB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002333/0.3795, allocations: 329.2 kB / 0.5124 GB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3795, allocations: 0 / 0.5124 GB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/0.3797, allocations: 67.84 kB / 0.5125 GB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.3797, allocations: 3.938 kB / 0.5125 GB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.3797, allocations: 15.98 kB / 0.5125 GB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.3797, allocations: 4 kB / 0.5125 GB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3797, allocations: 0 / 0.5125 GB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003538/0.3801, allocations: 312.6 kB / 0.5128 GB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.069e-05/0.3802, allocations: 144.6 kB / 0.5129 GB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.53e-05/0.3802, allocations: 7.938 kB / 0.5129 GB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.3804, allocations: 19.98 kB / 0.513 GB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.285e-05/0.3804, allocations: 27.97 kB / 0.513 GB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.3804, allocations: 15.98 kB / 0.513 GB, free: 6.117 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001394/0.3806, allocations: 228.5 kB / 0.5132 GB, free: 5.895 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3806, allocations: 0 / 0.5132 GB, free: 5.895 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002721/0.3809, allocations: 63.92 kB / 0.5133 GB, free: 5.832 MB / 382.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.tStart) * Number of discrete states: 1 (conTim.tStart) * 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.0008572/0.3817, allocations: 400.6 kB / 0.5137 GB, free: 5.578 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000447/0.3822, allocations: 355.5 kB / 0.514 GB, free: 5.219 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3822, allocations: 0 / 0.514 GB, free: 5.219 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001542/0.3824, allocations: 135.7 kB / 0.5141 GB, free: 5.086 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.3827, allocations: 44.59 kB / 0.5142 GB, free: 5.039 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007722/0.3834, allocations: 0.5134 MB / 0.5147 GB, free: 4.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001742/0.3836, allocations: 0.7579 MB / 0.5154 GB, free: 3.719 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002647/0.3839, allocations: 146.8 kB / 0.5155 GB, free: 3.574 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.627e-05/0.384, allocations: 43.36 kB / 0.5156 GB, free: 3.531 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.384, allocations: 0 / 0.5156 GB, free: 3.531 MB / 382.1 MB Notification: Performance of Templates: time 0.005675/0.3897, allocations: 2.975 MB / 0.5185 GB, free: 0.5859 MB / 382.1 MB 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)