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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008781/0.0008781, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000887/0.000887, allocations: 173 kB / 23.03 MB, free: 1.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8482/0.8482, allocations: 177.2 MB / 203.4 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002002/0.002002, allocations: 234.2 kB / 260.2 MB, free: 12.83 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6744/0.6744, allocations: 138.4 MB / 455.2 MB, free: 30 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 0.5551 GB, free: 176 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.291e-05/1.416e-05, allocations: 5.547 kB / 0.5551 GB, free: 172 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.004546/0.00456, allocations: 5.038 MB / 0.56 GB, free: 11.1 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.3077/0.3123, allocations: 146.7 MB / 0.7032 GB, free: 51.93 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000657/0.3129, allocations: 23.72 kB / 0.7032 GB, free: 51.92 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0004866/0.3134, allocations: 208.8 kB / 0.7034 GB, free: 51.81 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.00119/0.3146, allocations: 0.6128 MB / 0.704 GB, free: 51.61 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.00129/0.3159, allocations: 0.8864 MB / 0.7049 GB, free: 51.54 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001105/0.317, allocations: 1.516 MB / 0.7064 GB, free: 51.23 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005593/0.3176, allocations: 452.9 kB / 0.7068 GB, free: 51.14 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008429/0.3184, allocations: 0.8203 MB / 0.7076 GB, free: 50.96 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003772/0.3188, allocations: 406.2 kB / 0.708 GB, free: 50.84 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001157/0.3189, allocations: 115.1 kB / 0.7081 GB, free: 50.84 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006244/0.3195, allocations: 0.5069 MB / 0.7086 GB, free: 50.74 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001714/0.3197, allocations: 311.2 kB / 0.7089 GB, free: 50.57 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002704/0.32, allocations: 404.6 kB / 0.7093 GB, free: 50.41 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001068/0.321, allocations: 1.325 MB / 0.7106 GB, free: 49.85 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.3211, allocations: 0 / 0.7106 GB, free: 49.85 MB / 0.5573 GB Notification: Performance of FrontEnd: time 9.72e-07/0.3211, allocations: 0 / 0.7106 GB, free: 49.85 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.164e-05/0.3211, allocations: 1.031 kB / 0.7106 GB, free: 49.85 MB / 0.5573 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.001331/0.3224, allocations: 1.569 MB / 0.7121 GB, free: 48.77 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.3224, allocations: 10.41 kB / 0.7121 GB, free: 48.77 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009179/0.3233, allocations: 375.2 kB / 0.7125 GB, free: 48.63 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006217/0.324, allocations: 0.7288 MB / 0.7132 GB, free: 48.21 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.557e-05/0.324, allocations: 77.53 kB / 0.7133 GB, free: 48.17 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.187e-05/0.3241, allocations: 100 kB / 0.7134 GB, free: 48.14 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008475/0.3249, allocations: 0.9978 MB / 0.7143 GB, free: 47.55 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.3249, allocations: 0 / 0.7143 GB, free: 47.55 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.083e-05/0.325, allocations: 39.16 kB / 0.7144 GB, free: 47.52 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.575e-05/0.325, allocations: 21.12 kB / 0.7144 GB, free: 47.52 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007874/0.3258, allocations: 0.8309 MB / 0.7152 GB, free: 47.41 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001901/0.3277, allocations: 2.328 MB / 0.7175 GB, free: 45.95 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006693/0.3284, allocations: 0.4958 MB / 0.718 GB, free: 45.81 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002087/0.3286, allocations: 178.8 kB / 0.7181 GB, free: 45.76 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002138/0.3288, allocations: 86.47 kB / 0.7182 GB, free: 45.74 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003914/0.3292, allocations: 490.8 kB / 0.7187 GB, free: 45.46 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=82): time 2.044e-06/0.3292, allocations: 0 / 0.7187 GB, free: 45.46 MB / 0.5573 GB Notification: Performance of matching and sorting (n=82): time 0.001367/0.3305, allocations: 0.8202 MB / 0.7195 GB, free: 45.25 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.3306, allocations: 193.1 kB / 0.7197 GB, free: 45.03 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003603/0.3309, allocations: 0.5689 MB / 0.7202 GB, free: 44.74 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.111e-05/0.331, allocations: 43.05 kB / 0.7203 GB, free: 44.7 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.3312, allocations: 492.2 kB / 0.7207 GB, free: 44.31 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/0.3313, allocations: 277.5 kB / 0.721 GB, free: 44.09 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001435/0.3314, allocations: 168.7 kB / 0.7212 GB, free: 44.01 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 8.523e-05/0.3315, allocations: 0.5619 MB / 0.7217 GB, free: 43.48 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001909/0.3317, allocations: 138 kB / 0.7219 GB, free: 43.46 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002545/0.3319, allocations: 372.7 kB / 0.7222 GB, free: 43.2 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000419/0.3323, allocations: 377.8 kB / 0.7226 GB, free: 43.04 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3324, allocations: 0 / 0.7226 GB, free: 43.04 MB / 0.5573 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0008276/0.3332, allocations: 0.6379 MB / 0.7232 GB, free: 42.83 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.3332, allocations: 7.25 kB / 0.7232 GB, free: 42.83 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.3332, allocations: 0.6875 kB / 0.7232 GB, free: 42.83 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004171/0.3336, allocations: 133.6 kB / 0.7233 GB, free: 42.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003391/0.334, allocations: 160.7 kB / 0.7235 GB, free: 42.79 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009425/0.3349, allocations: 1.905 MB / 0.7253 GB, free: 40.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002472/0.3351, allocations: 75.44 kB / 0.7254 GB, free: 40.91 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.213e-05/0.3352, allocations: 37.7 kB / 0.7254 GB, free: 40.9 MB / 0.5573 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.0001599/0.3353, allocations: 207.7 kB / 0.7256 GB, free: 40.71 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.3355, allocations: 119.4 kB / 0.7258 GB, free: 40.64 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001024/0.3365, allocations: 0.8287 MB / 0.7266 GB, free: 40.36 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.3365, allocations: 9.094 kB / 0.7266 GB, free: 40.36 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.3365, allocations: 0.875 kB / 0.7266 GB, free: 40.36 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.3365, allocations: 4.688 kB / 0.7266 GB, free: 40.36 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001393/0.3379, allocations: 1.469 MB / 0.728 GB, free: 39.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.3379, allocations: 3.984 kB / 0.728 GB, free: 39.68 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002916/0.3382, allocations: 152.3 kB / 0.7282 GB, free: 39.66 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003113/0.3385, allocations: 118.1 kB / 0.7283 GB, free: 39.64 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.399e-05/0.3385, allocations: 26.7 kB / 0.7283 GB, free: 39.62 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007686/0.3393, allocations: 1.921 MB / 0.7302 GB, free: 37.78 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3393, allocations: 0 / 0.7302 GB, free: 37.78 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008438/0.3401, allocations: 0.8567 MB / 0.731 GB, free: 37.39 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001898/0.3403, allocations: 190 kB / 0.7312 GB, free: 37.29 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.477e-05/0.3404, allocations: 21.75 kB / 0.7312 GB, free: 37.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002347/0.3406, allocations: 40.47 kB / 0.7313 GB, free: 37.26 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.532e-05/0.3407, allocations: 82.31 kB / 0.7313 GB, free: 37.22 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-05/0.3408, allocations: 31.14 kB / 0.7314 GB, free: 37.21 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002194/0.341, allocations: 388.5 kB / 0.7317 GB, free: 36.97 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.5e-07/0.341, allocations: 0 / 0.7317 GB, free: 36.97 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0005453/0.3415, allocations: 368.1 kB / 0.7321 GB, free: 36.85 MB / 0.5573 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.001102/0.3426, allocations: 0.6408 MB / 0.7327 GB, free: 36.62 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0007069/0.3433, allocations: 0.6553 MB / 0.7334 GB, free: 36.28 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3433, allocations: 0 / 0.7334 GB, free: 36.28 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003612/0.3437, allocations: 482.8 kB / 0.7338 GB, free: 35.98 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007205/0.3444, allocations: 319.8 kB / 0.7341 GB, free: 35.83 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002009/0.3464, allocations: 1.594 MB / 0.7357 GB, free: 34.84 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001468/0.3466, allocations: 200.2 kB / 0.7359 GB, free: 34.7 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004431/0.347, allocations: 257.6 kB / 0.7361 GB, free: 34.57 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002544/0.3473, allocations: 108.2 kB / 0.7362 GB, free: 34.54 MB / 0.5573 GB Notification: Performance of SimCode: time 8.72e-07/0.3473, allocations: 4 kB / 0.7362 GB, free: 34.53 MB / 0.5573 GB Notification: Performance of Templates: time 0.01569/0.363, allocations: 16.59 MB / 0.7524 GB, free: 26.09 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile [Timeout 660] (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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.019867518916726]