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.001056/0.001056, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001091/0.001091, allocations: 189.6 kB / 16.25 MB, free: 6.629 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.384/1.384, allocations: 205.1 MB / 222.1 MB, free: 4.73 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.572/0.572, allocations: 95.47 MB / 364.9 MB, free: 10.08 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.001497/0.001497, allocations: 71.83 kB / 444.9 MB, free: 9.984 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.29, allocations: 69.07 MB / 0.5019 GB, free: 17.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover): time 0.002534/0.2926, allocations: 1.654 MB / 0.5035 GB, free: 15.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001268/0.2938, allocations: 1.309 MB / 0.5048 GB, free: 14.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.92e-05/0.2939, allocations: 0 / 0.5048 GB, free: 14.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000197/0.2941, allocations: 19.92 kB / 0.5048 GB, free: 14.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001595/0.2943, allocations: 47.83 kB / 0.5048 GB, free: 14.51 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003123/0.2946, allocations: 147.7 kB / 0.505 GB, free: 14.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001728/0.2948, allocations: 221.7 kB / 0.5052 GB, free: 14.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.415e-05/0.2949, allocations: 25.94 kB / 0.5052 GB, free: 14.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.145e-05/0.295, allocations: 79.77 kB / 0.5053 GB, free: 14.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.2951, allocations: 79.73 kB / 0.5054 GB, free: 13.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.3e-05/0.2951, allocations: 16 kB / 0.5054 GB, free: 13.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002103/0.2953, allocations: 187.8 kB / 0.5056 GB, free: 13.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.428e-05/0.2954, allocations: 75.81 kB / 0.5056 GB, free: 13.69 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.551e-05/0.2955, allocations: 99.33 kB / 0.5057 GB, free: 13.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002518/0.2957, allocations: 311.2 kB / 0.506 GB, free: 13.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2957, allocations: 0 / 0.506 GB, free: 13.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2958, allocations: 4 kB / 0.506 GB, free: 13.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.2958, allocations: 0 / 0.506 GB, free: 13.29 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.0005773/0.2963, allocations: 0.5703 MB / 0.5066 GB, free: 12.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.2964, allocations: 15.98 kB / 0.5066 GB, free: 12.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.19e-05/0.2965, allocations: 32.56 kB / 0.5066 GB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.2966, allocations: 264.1 kB / 0.5069 GB, free: 12.31 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.2966, allocations: 8 kB / 0.5069 GB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.2967, allocations: 16 kB / 0.5069 GB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002522/0.2969, allocations: 199.6 kB / 0.5071 GB, free: 12.08 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.2969, allocations: 0 / 0.5071 GB, free: 12.08 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/0.297, allocations: 12 kB / 0.5071 GB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.297, allocations: 7.984 kB / 0.5071 GB, free: 12.06 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006083/0.2976, allocations: 0.7332 MB / 0.5078 GB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006013/0.2982, allocations: 0.5588 MB / 0.5084 GB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003629/0.2986, allocations: 303.6 kB / 0.5087 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001207/0.2987, allocations: 109.4 kB / 0.5088 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.142e-05/0.2987, allocations: 24.23 kB / 0.5088 GB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002388/0.299, allocations: 175.2 kB / 0.509 GB, free: 10.1 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.195e-06/0.299, allocations: 4 kB / 0.509 GB, free: 10.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.0005136/0.2995, allocations: 376.8 kB / 0.5093 GB, free: 9.719 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.2996, allocations: 81.11 kB / 0.5094 GB, free: 9.621 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002173/0.2998, allocations: 301 kB / 0.5097 GB, free: 9.316 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.2998, allocations: 37.64 kB / 0.5097 GB, free: 9.273 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.948e-05/0.2999, allocations: 116.8 kB / 0.5098 GB, free: 9.156 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.672e-05/0.2999, allocations: 114.3 kB / 0.51 GB, free: 9.043 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.815e-05/0.3, allocations: 65.61 kB / 0.51 GB, free: 8.973 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.428e-05/0.3001, allocations: 342.8 kB / 0.5103 GB, free: 8.629 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.3002, allocations: 79.95 kB / 0.5104 GB, free: 8.551 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.3003, allocations: 114.7 kB / 0.5105 GB, free: 8.434 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002501/0.3006, allocations: 238.3 kB / 0.5108 GB, free: 8.191 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3006, allocations: 0 / 0.5108 GB, free: 8.191 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003468/0.3009, allocations: 311.3 kB / 0.5111 GB, free: 7.875 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.301, allocations: 33.64 kB / 0.5111 GB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.301, allocations: 4 kB / 0.5111 GB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.301, allocations: 4 kB / 0.5111 GB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001727/0.3012, allocations: 63.94 kB / 0.5112 GB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.3012, allocations: 4 kB / 0.5112 GB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.646e-05/0.3013, allocations: 15.84 kB / 0.5112 GB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.009e-05/0.3013, allocations: 15.98 kB / 0.5112 GB, free: 7.73 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 9.549e-05/0.3014, allocations: 161.7 kB / 0.5113 GB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.882e-05/0.3014, allocations: 27.66 kB / 0.5114 GB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005444/0.302, allocations: 400.8 kB / 0.5118 GB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.302, allocations: 4 kB / 0.5118 GB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.302, allocations: 0 / 0.5118 GB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.302, allocations: 0 / 0.5118 GB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001928/0.3022, allocations: 337.2 kB / 0.5121 GB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3022, allocations: 0 / 0.5121 GB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.3024, allocations: 63.91 kB / 0.5121 GB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3024, allocations: 3.938 kB / 0.5121 GB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.3024, allocations: 12 kB / 0.5122 GB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.3024, allocations: 4 kB / 0.5122 GB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3024, allocations: 3.984 kB / 0.5122 GB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003406/0.3028, allocations: 329.4 kB / 0.5125 GB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.823e-05/0.3028, allocations: 140.6 kB / 0.5126 GB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.196e-05/0.3029, allocations: 15.94 kB / 0.5126 GB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.373e-05/0.303, allocations: 15.98 kB / 0.5126 GB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.787e-05/0.303, allocations: 23.97 kB / 0.5127 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.819e-05/0.303, allocations: 15.98 kB / 0.5127 GB, free: 6.105 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001271/0.3032, allocations: 232.4 kB / 0.5129 GB, free: 5.879 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3032, allocations: 0 / 0.5129 GB, free: 5.879 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002673/0.3035, allocations: 75.98 kB / 0.513 GB, free: 5.805 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.0008107/0.3043, allocations: 418.2 kB / 0.5134 GB, free: 5.535 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004153/0.3047, allocations: 362.8 kB / 0.5137 GB, free: 5.168 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.3047, allocations: 0 / 0.5137 GB, free: 5.168 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001417/0.3048, allocations: 135.8 kB / 0.5138 GB, free: 5.035 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002229/0.3051, allocations: 32.66 kB / 0.5139 GB, free: 5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006219/0.3057, allocations: 0.6022 MB / 0.5145 GB, free: 4.375 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001461/0.3059, allocations: 0.7613 MB / 0.5152 GB, free: 3.586 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002497/0.3061, allocations: 138.9 kB / 0.5153 GB, free: 3.449 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.037e-05/0.3062, allocations: 47.41 kB / 0.5154 GB, free: 3.402 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3062, allocations: 3.938 kB / 0.5154 GB, free: 3.398 MB / 382.1 MB Notification: Performance of Templates: time 0.00485/0.3111, allocations: 2.926 MB / 0.5182 GB, free: 492 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)