Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 110.5 kB / 16.41 MB, free: 6.516 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.001267/0.001267, allocations: 181.2 kB / 17.34 MB, free: 5.738 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.382/1.382, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002696/0.002696, allocations: 284.9 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9911/0.9911, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002736/0.002736, allocations: 92.17 kB / 0.6821 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5261/0.5288, allocations: 86.98 MB / 0.767 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.007304/0.5362, allocations: 4.42 MB / 0.7714 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1933/0.7295, allocations: 151.1 MB / 0.9189 GB, free: 7.824 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000925/0.7304, allocations: 15.94 kB / 0.9189 GB, free: 7.809 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0006242/0.731, allocations: 178.3 kB / 0.9191 GB, free: 7.633 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001795/0.7328, allocations: 0.5175 MB / 0.9196 GB, free: 7.117 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002313/0.7351, allocations: 0.8479 MB / 0.9204 GB, free: 6.273 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001589/0.7367, allocations: 1.324 MB / 0.9217 GB, free: 4.941 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008822/0.7376, allocations: 0.5229 MB / 0.9222 GB, free: 4.398 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007052/0.7383, allocations: 0.4983 MB / 0.9227 GB, free: 3.898 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006254/0.7389, allocations: 0.5289 MB / 0.9232 GB, free: 3.367 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001579/0.7391, allocations: 128 kB / 0.9233 GB, free: 3.242 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00104/0.7401, allocations: 0.4996 MB / 0.9238 GB, free: 2.742 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003093/0.7404, allocations: 323 kB / 0.9241 GB, free: 2.426 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005234/0.741, allocations: 0.5712 MB / 0.9247 GB, free: 1.852 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002131/0.7431, allocations: 1.729 MB / 0.9264 GB, free: 124 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.7431, allocations: 4 kB / 0.9264 GB, free: 120 kB / 0.6856 GB Notification: Performance of FrontEnd: time 1.754e-06/0.7431, allocations: 0 / 0.9264 GB, free: 120 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.258e-05/0.7431, allocations: 0 / 0.9264 GB, free: 120 kB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.002831/0.7459, allocations: 1.529 MB / 0.9279 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.746, allocations: 8.031 kB / 0.9279 GB, free: 14.53 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001201/0.7472, allocations: 220 kB / 0.9281 GB, free: 14.31 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001336/0.7485, allocations: 0.7934 MB / 0.9289 GB, free: 13.48 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.165e-05/0.7486, allocations: 66 kB / 0.9289 GB, free: 13.41 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001604/0.7488, allocations: 103.9 kB / 0.929 GB, free: 13.31 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001901/0.7507, allocations: 1.016 MB / 0.93 GB, free: 12.25 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/0.7507, allocations: 0 / 0.93 GB, free: 12.25 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.824e-05/0.7508, allocations: 36 kB / 0.9301 GB, free: 12.22 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.652e-05/0.7508, allocations: 28 kB / 0.9301 GB, free: 12.19 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002117/0.7529, allocations: 1.175 MB / 0.9312 GB, free: 11.01 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004683/0.7576, allocations: 2.671 MB / 0.9338 GB, free: 8.273 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001823/0.7594, allocations: 0.8615 MB / 0.9347 GB, free: 7.391 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006061/0.76, allocations: 286.6 kB / 0.9349 GB, free: 7.102 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007822/0.7608, allocations: 474.1 kB / 0.9354 GB, free: 6.547 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009648/0.7618, allocations: 0.5032 MB / 0.9359 GB, free: 6.023 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=82): time 2.795e-06/0.7618, allocations: 0 / 0.9359 GB, free: 6.023 MB / 0.7012 GB Notification: Performance of matching and sorting (n=82): time 0.003386/0.7652, allocations: 1.221 MB / 0.9371 GB, free: 4.777 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001388/0.7653, allocations: 200.5 kB / 0.9373 GB, free: 4.539 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008817/0.7662, allocations: 0.6488 MB / 0.9379 GB, free: 3.887 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.036e-05/0.7663, allocations: 45.7 kB / 0.938 GB, free: 3.836 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004004/0.7667, allocations: 429 kB / 0.9384 GB, free: 3.41 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002621/0.7669, allocations: 277.6 kB / 0.9386 GB, free: 3.137 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002622/0.7672, allocations: 166.5 kB / 0.9388 GB, free: 2.965 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001966/0.7674, allocations: 390.7 kB / 0.9392 GB, free: 2.574 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005815/0.768, allocations: 281.8 kB / 0.9394 GB, free: 2.301 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007042/0.7687, allocations: 367.1 kB / 0.9398 GB, free: 1.934 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001232/0.7699, allocations: 0.6229 MB / 0.9404 GB, free: 1.297 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.7699, allocations: 0 / 0.9404 GB, free: 1.297 MB / 0.7012 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002154/0.7721, allocations: 0.8803 MB / 0.9412 GB, free: 416 kB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.7721, allocations: 4 kB / 0.9413 GB, free: 412 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.7721, allocations: 12.08 kB / 0.9413 GB, free: 400 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006224/0.7727, allocations: 76.78 kB / 0.9413 GB, free: 320 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007164/0.7735, allocations: 163.8 kB / 0.9415 GB, free: 156 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002519/0.776, allocations: 1.634 MB / 0.9431 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000858/0.7768, allocations: 105.8 kB / 0.9432 GB, free: 14.27 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.72e-05/0.7769, allocations: 39.97 kB / 0.9432 GB, free: 14.23 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006325/0.7775, allocations: 269.8 kB / 0.9435 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001901/0.7777, allocations: 91.48 kB / 0.9436 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002518/0.7802, allocations: 1.093 MB / 0.9446 GB, free: 12.76 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/0.7803, allocations: 8 kB / 0.9446 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.7803, allocations: 4 kB / 0.9446 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.7803, allocations: 3.984 kB / 0.9447 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003617/0.7839, allocations: 2.006 MB / 0.9466 GB, free: 10.69 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.7839, allocations: 4 kB / 0.9466 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006622/0.7846, allocations: 147.8 kB / 0.9468 GB, free: 10.54 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004538/0.785, allocations: 84.72 kB / 0.9468 GB, free: 10.45 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.455e-05/0.7851, allocations: 31.97 kB / 0.9469 GB, free: 10.42 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002084/0.7872, allocations: 1.658 MB / 0.9485 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.7872, allocations: 4.031 kB / 0.9485 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002256/0.7894, allocations: 1.026 MB / 0.9495 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004448/0.7899, allocations: 276.2 kB / 0.9498 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/0.79, allocations: 27.94 kB / 0.9498 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006793/0.7907, allocations: 67.92 kB / 0.9498 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001664/0.7908, allocations: 64.91 kB / 0.9499 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.167e-05/0.7909, allocations: 43.91 kB / 0.95 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006667/0.7916, allocations: 467 kB / 0.9504 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/0.7916, allocations: 0 / 0.9504 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001027/0.7926, allocations: 343 kB / 0.9507 GB, free: 6.293 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002013/0.7946, allocations: 0.6169 MB / 0.9513 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001937/0.7965, allocations: 0.8235 MB / 0.9521 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.7965, allocations: 0 / 0.9521 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001002/0.7975, allocations: 0.504 MB / 0.9526 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001299/0.7988, allocations: 295.6 kB / 0.9529 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00429/0.8031, allocations: 1.851 MB / 0.9547 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007208/0.8039, allocations: 1.043 MB / 0.9557 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008463/0.8047, allocations: 262.7 kB / 0.956 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002747/0.805, allocations: 111.4 kB / 0.9561 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of SimCode: time 1.442e-06/0.805, allocations: 0 / 0.9561 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of Templates: time 0.456/1.261, allocations: 15.48 MB / 0.9712 GB, free: 181.9 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)