Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.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.CheckSkyCover,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001257/0.001257, 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.001653/0.001653, allocations: 194.6 kB / 16.53 MB, free: 6.699 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.622/1.622, allocations: 205.1 MB / 222.4 MB, free: 4.629 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.6142/0.6142, allocations: 95.48 MB / 365.2 MB, free: 9.887 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.001614/0.001614, allocations: 67.89 kB / 445.4 MB, free: 9.609 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4139/0.4155, allocations: 69.08 MB / 0.5024 GB, free: 17.37 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover): time 0.003136/0.4187, allocations: 1.59 MB / 0.5039 GB, free: 15.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001845/0.4206, allocations: 1.325 MB / 0.5052 GB, free: 14.44 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.161e-05/0.4207, allocations: 0 / 0.5052 GB, free: 14.44 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002691/0.421, allocations: 31.77 kB / 0.5053 GB, free: 14.41 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.0002433/0.4213, allocations: 43.78 kB / 0.5053 GB, free: 14.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004473/0.4217, allocations: 171.4 kB / 0.5055 GB, free: 14.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002242/0.4219, allocations: 217.7 kB / 0.5057 GB, free: 13.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.4221, allocations: 33.92 kB / 0.5057 GB, free: 13.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.656e-05/0.4222, allocations: 71.78 kB / 0.5058 GB, free: 13.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001394/0.4223, allocations: 87.72 kB / 0.5059 GB, free: 13.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.115e-05/0.4223, allocations: 16 kB / 0.5059 GB, free: 13.78 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002431/0.4226, allocations: 187.8 kB / 0.506 GB, free: 13.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.046e-05/0.4227, allocations: 71.81 kB / 0.5061 GB, free: 13.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.953e-05/0.4228, allocations: 95.34 kB / 0.5062 GB, free: 13.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003197/0.4231, allocations: 319.1 kB / 0.5065 GB, free: 13.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.4231, allocations: 0 / 0.5065 GB, free: 13.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4231, allocations: 4 kB / 0.5065 GB, free: 13.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.4231, allocations: 0 / 0.5065 GB, free: 13.11 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0006747/0.4238, allocations: 0.5742 MB / 0.5071 GB, free: 12.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.4239, allocations: 11.98 kB / 0.5071 GB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.926e-05/0.4239, allocations: 28.56 kB / 0.5071 GB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/0.4241, allocations: 264.1 kB / 0.5074 GB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.4241, allocations: 15.98 kB / 0.5074 GB, free: 12.13 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.293e-05/0.4242, allocations: 12 kB / 0.5074 GB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002619/0.4244, allocations: 195.7 kB / 0.5076 GB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.4245, allocations: 0 / 0.5076 GB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/0.4245, allocations: 11.94 kB / 0.5076 GB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.4245, allocations: 4 kB / 0.5076 GB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000631/0.4251, allocations: 0.7448 MB / 0.5083 GB, free: 11.15 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006537/0.4258, allocations: 0.555 MB / 0.5089 GB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004156/0.4262, allocations: 307.6 kB / 0.5092 GB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001354/0.4264, allocations: 109.4 kB / 0.5093 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.53e-05/0.4264, allocations: 20.23 kB / 0.5093 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003762/0.4268, allocations: 175.3 kB / 0.5094 GB, free: 9.926 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 1.673e-06/0.4268, allocations: 0 / 0.5094 GB, free: 9.926 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.0006099/0.4274, allocations: 376.8 kB / 0.5098 GB, free: 9.551 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/0.4275, allocations: 81.11 kB / 0.5099 GB, free: 9.453 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001996/0.4277, allocations: 308.9 kB / 0.5102 GB, free: 9.141 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.889e-05/0.4277, allocations: 33.7 kB / 0.5102 GB, free: 9.102 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.026e-05/0.4278, allocations: 120.8 kB / 0.5103 GB, free: 8.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.078e-05/0.4278, allocations: 114.3 kB / 0.5104 GB, free: 8.867 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.966e-05/0.4279, allocations: 69.59 kB / 0.5105 GB, free: 8.793 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.312e-05/0.428, allocations: 330.8 kB / 0.5108 GB, free: 8.461 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.4281, allocations: 79.95 kB / 0.5109 GB, free: 8.383 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.4282, allocations: 118.7 kB / 0.511 GB, free: 8.262 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002828/0.4285, allocations: 238.3 kB / 0.5112 GB, free: 8.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4285, allocations: 0 / 0.5112 GB, free: 8.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003801/0.4289, allocations: 307.3 kB / 0.5115 GB, free: 7.707 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.058e-05/0.429, allocations: 41.62 kB / 0.5116 GB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.429, allocations: 0 / 0.5116 GB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.429, allocations: 0 / 0.5116 GB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001955/0.4292, allocations: 63.91 kB / 0.5116 GB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.4292, allocations: 0 / 0.5116 GB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.812e-05/0.4293, allocations: 19.84 kB / 0.5116 GB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.316e-05/0.4293, allocations: 16.02 kB / 0.5117 GB, free: 7.562 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.0001082/0.4295, allocations: 161.8 kB / 0.5118 GB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.111e-05/0.4295, allocations: 27.66 kB / 0.5118 GB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004915/0.43, allocations: 332.6 kB / 0.5122 GB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.43, allocations: 4 kB / 0.5122 GB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.43, allocations: 0 / 0.5122 GB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.81e-06/0.43, allocations: 0 / 0.5122 GB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000242/0.4303, allocations: 341.1 kB / 0.5125 GB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4303, allocations: 0 / 0.5125 GB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001605/0.4305, allocations: 59.91 kB / 0.5125 GB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.4305, allocations: 7.938 kB / 0.5126 GB, free: 6.586 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.4305, allocations: 11.98 kB / 0.5126 GB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.4305, allocations: 0 / 0.5126 GB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.4305, allocations: 3.984 kB / 0.5126 GB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000382/0.4309, allocations: 344.2 kB / 0.5129 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.445e-05/0.431, allocations: 140.7 kB / 0.513 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.582e-05/0.431, allocations: 11.92 kB / 0.513 GB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.934e-05/0.4311, allocations: 12 kB / 0.5131 GB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.972e-05/0.4312, allocations: 23.97 kB / 0.5131 GB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.4312, allocations: 19.92 kB / 0.5131 GB, free: 5.992 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001429/0.4314, allocations: 232.5 kB / 0.5133 GB, free: 5.766 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4314, allocations: 0 / 0.5133 GB, free: 5.766 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002947/0.4317, allocations: 75.89 kB / 0.5134 GB, free: 5.691 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 (37): * Single equations (assignments): 36 * 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.0009298/0.4326, allocations: 410.8 kB / 0.5138 GB, free: 5.426 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005045/0.4331, allocations: 366.8 kB / 0.5141 GB, free: 5.055 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4331, allocations: 0 / 0.5141 GB, free: 5.055 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001624/0.4333, allocations: 139.6 kB / 0.5143 GB, free: 4.918 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.4336, allocations: 31.89 kB / 0.5143 GB, free: 4.887 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007423/0.4343, allocations: 0.5126 MB / 0.5148 GB, free: 4.352 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001803/0.4345, allocations: 0.7618 MB / 0.5155 GB, free: 3.562 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002693/0.4348, allocations: 142.8 kB / 0.5157 GB, free: 3.422 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.188e-05/0.4349, allocations: 51.3 kB / 0.5157 GB, free: 3.371 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4349, allocations: 0 / 0.5157 GB, free: 3.371 MB / 382.1 MB Notification: Performance of Templates: time 0.005831/0.4407, allocations: 2.933 MB / 0.5186 GB, free: 464 kB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.sim & ./Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover.pipe 2>&1)