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.00136/0.00136, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001318/0.001318, allocations: 195.5 kB / 16.14 MB, free: 6.641 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.554/1.554, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002779/0.002779, allocations: 290.8 kB / 290.3 MB, free: 2.188 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.106/1.106, allocations: 178.6 MB / 0.5068 GB, free: 4.785 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002842/0.002842, allocations: 93.98 kB / 0.6057 GB, free: 25.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1896/0.1925, allocations: 89.16 MB / 0.6928 GB, free: 4.836 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.007173/0.1997, allocations: 5.156 MB / 0.6978 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5204/0.7201, allocations: 148.4 MB / 0.8428 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00111/0.7213, allocations: 15.94 kB / 0.8428 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006864/0.722, allocations: 167.5 kB / 0.8429 GB, free: 9.051 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001942/0.724, allocations: 488 kB / 0.8434 GB, free: 8.715 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00201/0.726, allocations: 0.7569 MB / 0.8441 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001836/0.7279, allocations: 1.351 MB / 0.8454 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001013/0.7289, allocations: 0.6431 MB / 0.8461 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008433/0.7297, allocations: 452.9 kB / 0.8465 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006442/0.7304, allocations: 0.5195 MB / 0.847 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001422/0.7306, allocations: 64.66 kB / 0.8471 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009877/0.7315, allocations: 423 kB / 0.8475 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002911/0.7318, allocations: 253.5 kB / 0.8477 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005741/0.7324, allocations: 0.546 MB / 0.8483 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001984/0.7344, allocations: 1.662 MB / 0.8499 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.7344, allocations: 0 / 0.8499 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.925e-06/0.7345, allocations: 0 / 0.8499 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.341e-05/0.7345, allocations: 3.938 kB / 0.8499 GB, free: 4.434 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.003054/0.7375, allocations: 1.496 MB / 0.8513 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.7376, allocations: 10.16 kB / 0.8514 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001198/0.7388, allocations: 216.5 kB / 0.8516 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001243/0.7401, allocations: 0.7618 MB / 0.8523 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.61e-05/0.7401, allocations: 76.19 kB / 0.8524 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.7403, allocations: 87.88 kB / 0.8525 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001853/0.7421, allocations: 1.022 MB / 0.8535 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.7422, allocations: 0 / 0.8535 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.543e-05/0.7423, allocations: 42.12 kB / 0.8535 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.352e-05/0.7423, allocations: 22.22 kB / 0.8535 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001942/0.7442, allocations: 1.174 MB / 0.8547 GB, free: 1.23 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.004931/0.7492, allocations: 2.977 MB / 0.8576 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001779/0.751, allocations: 0.9025 MB / 0.8585 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005968/0.7516, allocations: 323.2 kB / 0.8588 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007477/0.7523, allocations: 473 kB / 0.8592 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001072/0.7534, allocations: 0.5111 MB / 0.8597 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 2.555e-06/0.7534, allocations: 0 / 0.8597 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.003516/0.757, allocations: 1.226 MB / 0.8609 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001428/0.7571, allocations: 202.6 kB / 0.8611 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008721/0.758, allocations: 0.6352 MB / 0.8617 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.699e-05/0.7581, allocations: 42.77 kB / 0.8618 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004086/0.7585, allocations: 430.4 kB / 0.8622 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002706/0.7588, allocations: 271.4 kB / 0.8624 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002675/0.7591, allocations: 164.7 kB / 0.8626 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002207/0.7593, allocations: 384.9 kB / 0.863 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005728/0.7599, allocations: 275.5 kB / 0.8632 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007105/0.7606, allocations: 376.5 kB / 0.8636 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00125/0.7619, allocations: 0.6327 MB / 0.8642 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.7619, allocations: 0 / 0.8642 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002193/0.7641, allocations: 0.8742 MB / 0.8651 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.7641, allocations: 9.219 kB / 0.8651 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.7641, allocations: 0 / 0.8651 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006132/0.7647, allocations: 86.73 kB / 0.8651 GB, free: 9.766 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006809/0.7654, allocations: 163 kB / 0.8653 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002246/0.7677, allocations: 1.529 MB / 0.8668 GB, free: 8.223 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008865/0.7686, allocations: 98.44 kB / 0.8669 GB, free: 8.16 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-05/0.7687, allocations: 38.84 kB / 0.8669 GB, free: 8.145 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.0005308/0.7692, allocations: 272.2 kB / 0.8672 GB, free: 7.934 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001831/0.7694, allocations: 87.31 kB / 0.8673 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002579/0.772, allocations: 1.102 MB / 0.8683 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.772, allocations: 10.12 kB / 0.8684 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.772, allocations: 3.938 kB / 0.8684 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.772, allocations: 3.984 kB / 0.8684 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003675/0.7757, allocations: 2.002 MB / 0.8703 GB, free: 5.562 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.7757, allocations: 0 / 0.8703 GB, free: 5.562 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006423/0.7764, allocations: 151.8 kB / 0.8705 GB, free: 5.414 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005144/0.7769, allocations: 80.78 kB / 0.8705 GB, free: 5.332 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.54e-05/0.777, allocations: 27.97 kB / 0.8706 GB, free: 5.305 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002146/0.7791, allocations: 1.552 MB / 0.8721 GB, free: 3.617 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.7792, allocations: 0 / 0.8721 GB, free: 3.617 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00233/0.7815, allocations: 1.016 MB / 0.8731 GB, free: 2.586 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000479/0.782, allocations: 291.6 kB / 0.8733 GB, free: 2.281 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001318/0.7821, allocations: 19.94 kB / 0.8734 GB, free: 2.262 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007278/0.7829, allocations: 69.95 kB / 0.8734 GB, free: 2.195 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001726/0.783, allocations: 72.89 kB / 0.8735 GB, free: 2.125 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.824e-05/0.7831, allocations: 35.98 kB / 0.8735 GB, free: 2.09 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000678/0.7838, allocations: 475 kB / 0.874 GB, free: 1.633 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7838, allocations: 0 / 0.874 GB, free: 1.633 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001091/0.7849, allocations: 355.1 kB / 0.8743 GB, free: 1.285 MB / 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.00202/0.787, allocations: 0.6073 MB / 0.8749 GB, free: 0.8555 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001937/0.7889, allocations: 0.8595 MB / 0.8758 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.7889, allocations: 0 / 0.8758 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00105/0.79, allocations: 0.5278 MB / 0.8763 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001325/0.7913, allocations: 284 kB / 0.8765 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004137/0.7955, allocations: 2.188 MB / 0.8787 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007923/0.7963, allocations: 1.039 MB / 0.8797 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001043/0.7973, allocations: 270.8 kB / 0.88 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002962/0.7976, allocations: 107.4 kB / 0.8801 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of SimCode: time 6.91e-07/0.7976, allocations: 0 / 0.8801 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of Templates: time 0.02856/0.8262, allocations: 15.16 MB / 0.8949 GB, free: 12.57 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)