Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001212/0.001212, allocations: 119.5 kB / 17.09 MB, free: 6.012 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.001183/0.001183, allocations: 192.7 kB / 18.02 MB, free: 5.094 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.259/1.259, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6716/0.6716, allocations: 115.3 MB / 407.2 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 67.39 kB / 0.5583 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.125, allocations: 76.18 MB / 0.6327 GB, free: 4.457 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005809/0.1308, allocations: 5.143 MB / 0.6377 GB, free: 15.28 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4808/0.6116, allocations: 150.7 MB / 0.7849 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008764/0.6126, allocations: 15.72 kB / 0.7849 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006332/0.6132, allocations: 206.4 kB / 0.7851 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001677/0.6149, allocations: 0.5719 MB / 0.7857 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001861/0.6168, allocations: 0.86 MB / 0.7865 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001435/0.6182, allocations: 1.461 MB / 0.788 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008894/0.6191, allocations: 0.6547 MB / 0.7886 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007136/0.6199, allocations: 0.5237 MB / 0.7891 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005952/0.6205, allocations: 0.5481 MB / 0.7896 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001626/0.6206, allocations: 125.1 kB / 0.7898 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009679/0.6216, allocations: 0.5029 MB / 0.7903 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002526/0.6219, allocations: 312.9 kB / 0.7906 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005505/0.6224, allocations: 0.6085 MB / 0.7911 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001909/0.6244, allocations: 1.755 MB / 0.7929 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.6244, allocations: 0 / 0.7929 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6244, allocations: 0 / 0.7929 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.125e-05/0.6244, allocations: 4 kB / 0.7929 GB, free: 13.04 MB / 0.5919 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.002542/0.627, allocations: 1.509 MB / 0.7943 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.627, allocations: 8 kB / 0.7943 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/0.6281, allocations: 219.6 kB / 0.7946 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001125/0.6292, allocations: 0.7793 MB / 0.7953 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.619e-05/0.6293, allocations: 72.5 kB / 0.7954 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.6294, allocations: 94.31 kB / 0.7955 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/0.631, allocations: 1.011 MB / 0.7965 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.631, allocations: 6.422 kB / 0.7965 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.519e-05/0.6311, allocations: 39.19 kB / 0.7965 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.801e-05/0.6311, allocations: 23.06 kB / 0.7965 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001671/0.6328, allocations: 1.176 MB / 0.7977 GB, free: 11.63 MB / 0.5919 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.00393/0.6367, allocations: 2.943 MB / 0.8006 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001522/0.6383, allocations: 0.9112 MB / 0.8014 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005194/0.6388, allocations: 313.9 kB / 0.8017 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000617/0.6394, allocations: 469 kB / 0.8022 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00088/0.6403, allocations: 0.5053 MB / 0.8027 GB, free: 9.391 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 4.137e-06/0.6404, allocations: 0 / 0.8027 GB, free: 9.391 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.003155/0.6435, allocations: 1.235 MB / 0.8039 GB, free: 9.023 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/0.6436, allocations: 203.8 kB / 0.8041 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008068/0.6445, allocations: 0.6386 MB / 0.8047 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.443e-05/0.6446, allocations: 42.55 kB / 0.8047 GB, free: 8.547 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003174/0.6449, allocations: 428 kB / 0.8052 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002176/0.6451, allocations: 268.8 kB / 0.8054 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002302/0.6453, allocations: 160.9 kB / 0.8056 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.6455, allocations: 385.8 kB / 0.8059 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005217/0.646, allocations: 280.3 kB / 0.8062 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006141/0.6466, allocations: 374.8 kB / 0.8066 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/0.6477, allocations: 0.6255 MB / 0.8072 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.808e-06/0.6477, allocations: 2.625 kB / 0.8072 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00219/0.6499, allocations: 0.8718 MB / 0.808 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.65, allocations: 8.875 kB / 0.808 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.65, allocations: 6.938 kB / 0.808 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005693/0.6506, allocations: 85.36 kB / 0.8081 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006554/0.6512, allocations: 165.1 kB / 0.8083 GB, free: 7.199 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002052/0.6533, allocations: 1.634 MB / 0.8099 GB, free: 5.734 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008141/0.6541, allocations: 100 kB / 0.81 GB, free: 5.684 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-05/0.6542, allocations: 38.3 kB / 0.81 GB, free: 5.676 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.0004759/0.6547, allocations: 274.8 kB / 0.8103 GB, free: 5.535 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/0.6549, allocations: 84.31 kB / 0.8103 GB, free: 5.492 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002287/0.6572, allocations: 1.099 MB / 0.8114 GB, free: 5 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.6572, allocations: 9.844 kB / 0.8114 GB, free: 5 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.6572, allocations: 0 / 0.8114 GB, free: 5 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.6572, allocations: 7.984 kB / 0.8114 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003199/0.6604, allocations: 2.005 MB / 0.8134 GB, free: 3.688 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.728e-06/0.6604, allocations: 0 / 0.8134 GB, free: 3.688 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005929/0.661, allocations: 151.1 kB / 0.8135 GB, free: 3.652 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000419/0.6615, allocations: 82.34 kB / 0.8136 GB, free: 3.605 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.635e-05/0.6615, allocations: 23.86 kB / 0.8136 GB, free: 3.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001913/0.6634, allocations: 1.66 MB / 0.8153 GB, free: 1.973 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.6635, allocations: 0 / 0.8153 GB, free: 1.973 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002245/0.6657, allocations: 1.018 MB / 0.8163 GB, free: 1.398 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003984/0.6661, allocations: 275.5 kB / 0.8165 GB, free: 1.156 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001307/0.6663, allocations: 27.56 kB / 0.8165 GB, free: 1.137 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006724/0.6669, allocations: 66.05 kB / 0.8166 GB, free: 1.102 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.6671, allocations: 75.98 kB / 0.8167 GB, free: 1.062 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.257e-05/0.6672, allocations: 30.92 kB / 0.8167 GB, free: 1.055 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005176/0.6677, allocations: 465.4 kB / 0.8172 GB, free: 0.7891 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6677, allocations: 0 / 0.8172 GB, free: 0.7891 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008943/0.6686, allocations: 359.2 kB / 0.8175 GB, free: 0.6836 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.001288/0.6699, allocations: 0.6225 MB / 0.8181 GB, free: 420 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001654/0.6715, allocations: 0.8583 MB / 0.8189 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.6716, allocations: 2.562 kB / 0.8189 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009037/0.6725, allocations: 0.5312 MB / 0.8195 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/0.6737, allocations: 291.4 kB / 0.8197 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002924/0.6766, allocations: 1.769 MB / 0.8215 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006147/0.6772, allocations: 1.039 MB / 0.8225 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003401/0.6776, allocations: 124 kB / 0.8226 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of SimCode: time 1.062e-06/0.6776, allocations: 0 / 0.8226 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of Templates: time 0.02509/0.7027, allocations: 19.63 MB / 0.8418 GB, free: 13 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)