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.000776/0.0007763, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.0008202/0.0008202, allocations: 172.7 kB / 15.95 MB, free: 192 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 223.3 MB / 240 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001779/0.001779, allocations: 279.1 kB / 291.3 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9966/0.9966, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004062/0.0004062, allocations: 14.75 kB / 0.598 GB, free: 28.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1742, allocations: 88.55 MB / 0.6845 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.004506/0.1787, allocations: 3.791 MB / 0.6882 GB, free: 11.67 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4748/0.6536, allocations: 136.8 MB / 0.8218 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005247/0.6541, allocations: 14.66 kB / 0.8218 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004018/0.6546, allocations: 136.7 kB / 0.822 GB, free: 0.9023 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001143/0.6557, allocations: 417.4 kB / 0.8224 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001569/0.6573, allocations: 0.6549 MB / 0.823 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001021/0.6583, allocations: 1.142 MB / 0.8241 GB, free: 384 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006957/0.659, allocations: 0.5447 MB / 0.8246 GB, free: 260 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004746/0.6595, allocations: 345.1 kB / 0.825 GB, free: 152 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004037/0.6599, allocations: 379 kB / 0.8253 GB, free: 24 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.887e-05/0.66, allocations: 25.19 kB / 0.8254 GB, free: 24 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000752/0.6608, allocations: 355.1 kB / 0.8257 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001851/0.661, allocations: 184.9 kB / 0.8259 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000164/0.6611, allocations: 205 kB / 0.8261 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00113/0.6623, allocations: 1.237 MB / 0.8273 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.6623, allocations: 0 / 0.8273 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6623, allocations: 7.938 kB / 0.8273 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.297e-05/0.6623, allocations: 1.375 kB / 0.8273 GB, free: 15.15 MB / 0.5606 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.002188/0.6645, allocations: 1.263 MB / 0.8285 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.6645, allocations: 9.438 kB / 0.8285 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00105/0.6656, allocations: 233.4 kB / 0.8287 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/0.6667, allocations: 0.7305 MB / 0.8295 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.921e-05/0.6667, allocations: 71.62 kB / 0.8295 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/0.6669, allocations: 88.75 kB / 0.8296 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/0.6684, allocations: 1.019 MB / 0.8306 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.6685, allocations: 0 / 0.8306 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.695e-05/0.6685, allocations: 36.56 kB / 0.8306 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.89e-05/0.6686, allocations: 29.33 kB / 0.8307 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001669/0.6702, allocations: 1.176 MB / 0.8318 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00373/0.674, allocations: 2.734 MB / 0.8345 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00145/0.6754, allocations: 0.9092 MB / 0.8354 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004997/0.676, allocations: 318.6 kB / 0.8357 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005828/0.6766, allocations: 471.2 kB / 0.8361 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008222/0.6774, allocations: 0.5001 MB / 0.8366 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=82): time 2.725e-06/0.6774, allocations: 0 / 0.8366 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82): time 0.002824/0.6802, allocations: 1.227 MB / 0.8378 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.003e-05/0.6803, allocations: 195.1 kB / 0.838 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006831/0.681, allocations: 0.6388 MB / 0.8386 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.627e-05/0.6811, allocations: 40.89 kB / 0.8387 GB, free: 9.727 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002737/0.6814, allocations: 426 kB / 0.8391 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001848/0.6816, allocations: 263.7 kB / 0.8393 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.87e-05/0.6816, allocations: 19.62 kB / 0.8393 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.6818, allocations: 386.6 kB / 0.8397 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004906/0.6823, allocations: 279.6 kB / 0.84 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005939/0.6829, allocations: 373.8 kB / 0.8403 GB, free: 8.691 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005632/0.6834, allocations: 315 kB / 0.8406 GB, free: 8.539 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.6835, allocations: 0 / 0.8406 GB, free: 8.539 MB / 0.5606 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001761/0.6852, allocations: 0.8736 MB / 0.8415 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.6852, allocations: 6.188 kB / 0.8415 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.6853, allocations: 0 / 0.8415 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005332/0.6858, allocations: 86.05 kB / 0.8416 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000642/0.6865, allocations: 165.6 kB / 0.8417 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001851/0.6883, allocations: 1.53 MB / 0.8432 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000706/0.689, allocations: 108.7 kB / 0.8433 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-05/0.6891, allocations: 37.56 kB / 0.8434 GB, free: 6.426 MB / 0.5606 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004196/0.6895, allocations: 269.5 kB / 0.8436 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/0.6897, allocations: 88.67 kB / 0.8437 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002298/0.692, allocations: 1.115 MB / 0.8448 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.617e-06/0.692, allocations: 8.875 kB / 0.8448 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.692, allocations: 3.984 kB / 0.8448 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/0.692, allocations: 7.969 kB / 0.8448 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003055/0.6951, allocations: 2.01 MB / 0.8468 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.6951, allocations: 2.875 kB / 0.8468 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005577/0.6957, allocations: 155.2 kB / 0.8469 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000441/0.6961, allocations: 84.22 kB / 0.847 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.473e-05/0.6962, allocations: 30.84 kB / 0.847 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001816/0.698, allocations: 1.546 MB / 0.8485 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.698, allocations: 0 / 0.8485 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001984/0.7, allocations: 1.016 MB / 0.8495 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003958/0.7004, allocations: 291.9 kB / 0.8498 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/0.7005, allocations: 21.78 kB / 0.8498 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006114/0.7011, allocations: 82.33 kB / 0.8499 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/0.7013, allocations: 69.48 kB / 0.85 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.572e-05/0.7014, allocations: 40.59 kB / 0.85 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006158/0.702, allocations: 458.3 kB / 0.8505 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.4e-07/0.702, allocations: 0 / 0.8505 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001094/0.7031, allocations: 336.3 kB / 0.8508 GB, free: 1.305 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001307/0.7044, allocations: 0.626 MB / 0.8514 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001598/0.706, allocations: 0.857 MB / 0.8522 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/0.7061, allocations: 3.094 kB / 0.8522 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000896/0.707, allocations: 0.526 MB / 0.8527 GB, free: 252 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.7081, allocations: 267.7 kB / 0.853 GB, free: 112 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003841/0.7119, allocations: 2.295 MB / 0.8552 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005574/0.7125, allocations: 1.051 MB / 0.8563 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008463/0.7133, allocations: 269.7 kB / 0.8565 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002514/0.7136, allocations: 102.5 kB / 0.8566 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of SimCode: time 5.11e-07/0.7136, allocations: 0 / 0.8566 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of Templates: time 0.02273/0.7363, allocations: 14.14 MB / 0.8704 GB, free: 1.477 MB / 0.5762 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)