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.001357/0.001357, 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.001383/0.001383, allocations: 192.1 kB / 16.25 MB, free: 6.633 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.458/1.458, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002714/0.002714, allocations: 282.8 kB / 290.4 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.096/1.096, allocations: 178.6 MB / 0.5069 GB, free: 4.723 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002767/0.002767, allocations: 97.23 kB / 0.6059 GB, free: 25.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1633, allocations: 89.15 MB / 0.693 GB, free: 4.695 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.007196/0.1705, allocations: 5.161 MB / 0.698 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4692/0.6398, allocations: 148.5 MB / 0.843 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000846/0.6407, allocations: 16.31 kB / 0.843 GB, free: 9.324 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006032/0.6413, allocations: 163.3 kB / 0.8432 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001782/0.6431, allocations: 0.4978 MB / 0.8437 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00188/0.645, allocations: 0.7643 MB / 0.8444 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001616/0.6466, allocations: 1.451 MB / 0.8458 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009458/0.6476, allocations: 0.6492 MB / 0.8465 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006893/0.6483, allocations: 0.5207 MB / 0.847 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006063/0.6489, allocations: 0.5465 MB / 0.8475 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001269/0.649, allocations: 125.6 kB / 0.8476 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008084/0.6498, allocations: 490.5 kB / 0.8481 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003023/0.6501, allocations: 313.4 kB / 0.8484 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000549/0.6507, allocations: 0.6169 MB / 0.849 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001903/0.6526, allocations: 1.707 MB / 0.8507 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.6526, allocations: 2.156 kB / 0.8507 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.312e-06/0.6526, allocations: 0 / 0.8507 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.523e-05/0.6527, allocations: 0 / 0.8507 GB, free: 4.234 MB / 0.5762 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.002661/0.6553, allocations: 1.511 MB / 0.8522 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.6554, allocations: 10.31 kB / 0.8522 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001097/0.6565, allocations: 214.2 kB / 0.8524 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.6575, allocations: 0.7565 MB / 0.8531 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.387e-05/0.6576, allocations: 75.55 kB / 0.8532 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.6577, allocations: 89.16 kB / 0.8533 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001767/0.6595, allocations: 1.022 MB / 0.8543 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.455e-05/0.6595, allocations: 3.75 kB / 0.8543 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/0.6597, allocations: 39.62 kB / 0.8543 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.825e-05/0.6597, allocations: 25.47 kB / 0.8543 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001858/0.6615, allocations: 1.177 MB / 0.8555 GB, free: 1.02 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004545/0.6661, allocations: 2.965 MB / 0.8584 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001653/0.6678, allocations: 0.9168 MB / 0.8593 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005643/0.6684, allocations: 318.2 kB / 0.8596 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007049/0.6691, allocations: 477.2 kB / 0.86 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009942/0.6701, allocations: 0.5072 MB / 0.8605 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 2.464e-06/0.6701, allocations: 0 / 0.8605 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.003375/0.6735, allocations: 1.232 MB / 0.8617 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000147/0.6736, allocations: 196 kB / 0.8619 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008174/0.6745, allocations: 0.6398 MB / 0.8625 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.753e-05/0.6745, allocations: 47.45 kB / 0.8626 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003755/0.6749, allocations: 422.1 kB / 0.863 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002444/0.6752, allocations: 267.4 kB / 0.8632 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002547/0.6754, allocations: 168.7 kB / 0.8634 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002077/0.6757, allocations: 384.7 kB / 0.8638 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005477/0.6762, allocations: 279.8 kB / 0.864 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006521/0.6769, allocations: 375.5 kB / 0.8644 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/0.6781, allocations: 0.6271 MB / 0.865 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.6781, allocations: 0 / 0.865 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002088/0.6802, allocations: 0.8786 MB / 0.8659 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.6802, allocations: 8.75 kB / 0.8659 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.6802, allocations: 3.938 kB / 0.8659 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006113/0.6808, allocations: 81.81 kB / 0.866 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006633/0.6815, allocations: 162.8 kB / 0.8661 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002347/0.6839, allocations: 1.632 MB / 0.8677 GB, free: 7.914 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008525/0.6847, allocations: 102.2 kB / 0.8678 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.767e-05/0.6848, allocations: 44.44 kB / 0.8678 GB, free: 7.828 MB / 0.5919 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.0005084/0.6853, allocations: 273 kB / 0.8681 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001723/0.6855, allocations: 79.03 kB / 0.8682 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002586/0.6881, allocations: 1.102 MB / 0.8693 GB, free: 6.723 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.555e-05/0.6881, allocations: 12 kB / 0.8693 GB, free: 6.711 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.6881, allocations: 0 / 0.8693 GB, free: 6.711 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.6881, allocations: 3.984 kB / 0.8693 GB, free: 6.707 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003636/0.6918, allocations: 2.008 MB / 0.8712 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.345e-06/0.6918, allocations: 4.875 kB / 0.8712 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006417/0.6925, allocations: 147.8 kB / 0.8714 GB, free: 4.488 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004719/0.6929, allocations: 72.78 kB / 0.8714 GB, free: 4.414 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-05/0.693, allocations: 27.97 kB / 0.8715 GB, free: 4.387 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002203/0.6952, allocations: 1.666 MB / 0.8731 GB, free: 2.578 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.6953, allocations: 0 / 0.8731 GB, free: 2.578 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00225/0.6975, allocations: 1.015 MB / 0.8741 GB, free: 1.543 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004372/0.698, allocations: 275.7 kB / 0.8744 GB, free: 1.254 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001343/0.6981, allocations: 27.86 kB / 0.8744 GB, free: 1.227 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007154/0.6988, allocations: 71.69 kB / 0.8745 GB, free: 1.16 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001686/0.699, allocations: 68.89 kB / 0.8745 GB, free: 1.094 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.038e-05/0.6991, allocations: 39.97 kB / 0.8746 GB, free: 1.055 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006465/0.6997, allocations: 463 kB / 0.875 GB, free: 0.6055 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6998, allocations: 0 / 0.875 GB, free: 0.6055 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001106/0.7009, allocations: 363 kB / 0.8753 GB, free: 256 kB / 0.5919 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.001971/0.7028, allocations: 0.6241 MB / 0.876 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002585/0.7054, allocations: 1.059 MB / 0.877 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.7055, allocations: 0 / 0.877 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001044/0.7065, allocations: 0.5352 MB / 0.8775 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001389/0.7079, allocations: 312.2 kB / 0.8778 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003507/0.7114, allocations: 2.182 MB / 0.8799 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007046/0.7121, allocations: 1.047 MB / 0.881 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000915/0.7131, allocations: 266.8 kB / 0.8812 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002819/0.7134, allocations: 111.3 kB / 0.8813 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of SimCode: time 4.81e-07/0.7134, allocations: 0 / 0.8813 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of Templates: time 0.02854/0.7419, allocations: 15.69 MB / 0.8966 GB, free: 10.78 MB / 0.6231 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)