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.00114/0.00114, allocations: 113.5 kB / 16.42 MB, free: 6.453 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.001171/0.001171, allocations: 183.9 kB / 17.35 MB, free: 5.734 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.338/1.338, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003281/0.003281, allocations: 290.4 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9606/0.9606, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002078/0.002078, allocations: 91.86 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4413/0.4434, allocations: 86.97 MB / 0.767 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006143/0.4496, allocations: 4.424 MB / 0.7714 GB, free: 15.47 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1578/0.6075, allocations: 150.6 MB / 0.9185 GB, free: 8.246 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007911/0.6083, allocations: 15.94 kB / 0.9185 GB, free: 8.23 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0006864/0.609, allocations: 170.3 kB / 0.9186 GB, free: 8.062 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001837/0.6109, allocations: 0.5147 MB / 0.9191 GB, free: 7.547 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002153/0.6131, allocations: 0.8626 MB / 0.92 GB, free: 6.691 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001697/0.6148, allocations: 1.328 MB / 0.9213 GB, free: 5.355 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0011/0.6159, allocations: 0.7102 MB / 0.922 GB, free: 4.625 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001042/0.6169, allocations: 0.4983 MB / 0.9225 GB, free: 4.125 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008646/0.6178, allocations: 0.5289 MB / 0.923 GB, free: 3.594 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002943/0.6181, allocations: 124 kB / 0.9231 GB, free: 3.473 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001119/0.6192, allocations: 0.5035 MB / 0.9236 GB, free: 2.969 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003857/0.6196, allocations: 319 kB / 0.9239 GB, free: 2.656 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007424/0.6204, allocations: 0.579 MB / 0.9245 GB, free: 2.074 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002196/0.6226, allocations: 1.712 MB / 0.9261 GB, free: 368 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.6226, allocations: 4 kB / 0.9261 GB, free: 364 kB / 0.6856 GB Notification: Performance of FrontEnd: time 1.273e-06/0.6226, allocations: 0 / 0.9261 GB, free: 364 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.709e-05/0.6227, allocations: 0 / 0.9261 GB, free: 364 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.003125/0.6258, allocations: 1.491 MB / 0.9276 GB, free: 14.82 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.6259, allocations: 8.031 kB / 0.9276 GB, free: 14.81 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001262/0.6271, allocations: 219.2 kB / 0.9278 GB, free: 14.6 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001388/0.6285, allocations: 0.7772 MB / 0.9286 GB, free: 13.78 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.198e-05/0.6286, allocations: 70 kB / 0.9286 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000139/0.6287, allocations: 92 kB / 0.9287 GB, free: 13.62 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00197/0.6307, allocations: 1.016 MB / 0.9297 GB, free: 12.56 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/0.6308, allocations: 0 / 0.9297 GB, free: 12.56 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/0.6309, allocations: 40 kB / 0.9297 GB, free: 12.52 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.383e-05/0.6309, allocations: 28 kB / 0.9298 GB, free: 12.5 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002066/0.633, allocations: 1.178 MB / 0.9309 GB, free: 11.31 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004551/0.6375, allocations: 2.674 MB / 0.9335 GB, free: 8.566 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001849/0.6394, allocations: 0.9108 MB / 0.9344 GB, free: 7.633 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006314/0.6401, allocations: 310.7 kB / 0.9347 GB, free: 7.32 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006817/0.6407, allocations: 470.2 kB / 0.9352 GB, free: 6.77 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000961/0.6417, allocations: 0.503 MB / 0.9357 GB, free: 6.246 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=82): time 2.976e-06/0.6417, allocations: 0 / 0.9357 GB, free: 6.246 MB / 0.7012 GB Notification: Performance of matching and sorting (n=82): time 0.003405/0.6452, allocations: 1.221 MB / 0.9369 GB, free: 5 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.6453, allocations: 196.6 kB / 0.937 GB, free: 4.766 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009508/0.6462, allocations: 0.6449 MB / 0.9377 GB, free: 4.117 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.877e-05/0.6463, allocations: 45.64 kB / 0.9377 GB, free: 4.066 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003771/0.6467, allocations: 424.2 kB / 0.9381 GB, free: 3.645 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000267/0.647, allocations: 264.2 kB / 0.9384 GB, free: 3.383 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002844/0.6473, allocations: 166.4 kB / 0.9385 GB, free: 3.211 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001768/0.6475, allocations: 390.7 kB / 0.9389 GB, free: 2.82 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006313/0.6481, allocations: 281.8 kB / 0.9392 GB, free: 2.547 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007209/0.6488, allocations: 367.1 kB / 0.9395 GB, free: 2.18 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001269/0.6501, allocations: 0.6229 MB / 0.9401 GB, free: 1.543 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.6501, allocations: 0 / 0.9401 GB, free: 1.543 MB / 0.7012 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002141/0.6523, allocations: 0.8761 MB / 0.941 GB, free: 0.6562 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.6523, allocations: 4 kB / 0.941 GB, free: 0.6523 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.6523, allocations: 20 kB / 0.941 GB, free: 0.6328 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006438/0.653, allocations: 76.78 kB / 0.9411 GB, free: 0.5547 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007454/0.6537, allocations: 163.8 kB / 0.9412 GB, free: 404 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00233/0.6561, allocations: 1.623 MB / 0.9428 GB, free: 14.62 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000805/0.6569, allocations: 99.28 kB / 0.9429 GB, free: 14.53 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.035e-05/0.657, allocations: 39.97 kB / 0.943 GB, free: 14.49 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.000474/0.6575, allocations: 273.8 kB / 0.9432 GB, free: 14.21 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002112/0.6577, allocations: 86.97 kB / 0.9433 GB, free: 14.13 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002614/0.6603, allocations: 1.093 MB / 0.9444 GB, free: 13.02 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-05/0.6604, allocations: 3.984 kB / 0.9444 GB, free: 13.01 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.6604, allocations: 4 kB / 0.9444 GB, free: 13.01 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004335/0.6608, allocations: 279.7 kB / 0.9446 GB, free: 12.71 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001548/0.661, allocations: 20 kB / 0.9447 GB, free: 12.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006953/0.6617, allocations: 70.73 kB / 0.9447 GB, free: 12.63 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001598/0.6618, allocations: 76.89 kB / 0.9448 GB, free: 12.55 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002332/0.6642, allocations: 0.967 MB / 0.9457 GB, free: 11.58 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002533/0.6667, allocations: 1.453 MB / 0.9472 GB, free: 10.11 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007/0.6674, allocations: 371.8 kB / 0.9475 GB, free: 9.742 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006231/0.6681, allocations: 471 kB / 0.948 GB, free: 9.289 MB / 0.7169 GB Notification: Performance of Backend: time 1.002e-06/0.6681, allocations: 0 / 0.948 GB, free: 9.289 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003563/0.6717, allocations: 1.277 MB / 0.9492 GB, free: 8.234 MB / 0.7169 GB Notification: Performance of SimCode: time 0.003332/0.675, allocations: 2.101 MB / 0.9513 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of Templates: time 0.3698/1.045, allocations: 16.66 MB / 0.9675 GB, free: 185.3 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)