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.0008963/0.0008963, allocations: 92.95 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 182.7 kB / 16.92 MB, free: 6.934 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.425/1.425, allocations: 223.3 MB / 241 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7035/0.7035, allocations: 115.4 MB / 407.5 MB, free: 2.867 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003095/0.0003096, allocations: 8 kB / 495.7 MB, free: 6.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1931/0.1934, allocations: 77.5 MB / 0.5598 GB, free: 9.219 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005476/0.199, allocations: 4.722 MB / 0.5644 GB, free: 4.477 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.516/0.715, allocations: 146.8 MB / 0.7078 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009558/0.716, allocations: 19.88 kB / 0.7078 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006075/0.7166, allocations: 158.8 kB / 0.7079 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001742/0.7184, allocations: 485.3 kB / 0.7084 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001999/0.7204, allocations: 0.7587 MB / 0.7091 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001434/0.7218, allocations: 1.346 MB / 0.7104 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009142/0.7228, allocations: 0.6365 MB / 0.7111 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006127/0.7234, allocations: 370.2 kB / 0.7114 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005201/0.7239, allocations: 417.6 kB / 0.7118 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.395e-05/0.724, allocations: 24 kB / 0.7118 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009168/0.7249, allocations: 387.6 kB / 0.7122 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002029/0.7251, allocations: 195.1 kB / 0.7124 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004309/0.7256, allocations: 0.4947 MB / 0.7129 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001491/0.7271, allocations: 1.608 MB / 0.7145 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.7271, allocations: 0 / 0.7145 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.014e-06/0.7271, allocations: 4 kB / 0.7145 GB, free: 8.523 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.284e-05/0.7271, allocations: 0 / 0.7145 GB, free: 8.523 MB / 0.5294 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.002253/0.7294, allocations: 1.275 MB / 0.7157 GB, free: 7.203 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.7294, allocations: 12.03 kB / 0.7157 GB, free: 7.191 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001072/0.7305, allocations: 223.3 kB / 0.7159 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/0.7316, allocations: 0.754 MB / 0.7167 GB, free: 6.176 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.616e-05/0.7317, allocations: 77.94 kB / 0.7167 GB, free: 6.102 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/0.7318, allocations: 91.98 kB / 0.7168 GB, free: 6.012 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001742/0.7336, allocations: 1.016 MB / 0.7178 GB, free: 4.953 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.7336, allocations: 4 kB / 0.7178 GB, free: 4.949 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-05/0.7337, allocations: 44 kB / 0.7179 GB, free: 4.906 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.887e-05/0.7337, allocations: 20 kB / 0.7179 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001926/0.7357, allocations: 1.182 MB / 0.719 GB, free: 3.707 MB / 0.5294 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.004467/0.7401, allocations: 3.012 MB / 0.722 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001785/0.7419, allocations: 0.9162 MB / 0.7229 GB, free: 15.62 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006151/0.7426, allocations: 322.7 kB / 0.7232 GB, free: 15.3 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006756/0.7433, allocations: 474.1 kB / 0.7236 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009769/0.7443, allocations: 0.5031 MB / 0.7241 GB, free: 14.23 MB / 0.545 GB Notification: Performance of pre-optimization done (n=82): time 3.286e-06/0.7443, allocations: 0 / 0.7241 GB, free: 14.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=82): time 0.003427/0.7477, allocations: 1.248 MB / 0.7253 GB, free: 12.95 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/0.7478, allocations: 196.5 kB / 0.7255 GB, free: 12.71 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008649/0.7487, allocations: 0.6372 MB / 0.7262 GB, free: 12.07 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.321e-05/0.7488, allocations: 41.7 kB / 0.7262 GB, free: 12.02 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003481/0.7491, allocations: 432.1 kB / 0.7266 GB, free: 11.59 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002236/0.7494, allocations: 268.2 kB / 0.7269 GB, free: 11.33 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.923e-05/0.7495, allocations: 65.69 kB / 0.7269 GB, free: 11.26 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.7497, allocations: 390.7 kB / 0.7273 GB, free: 10.87 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005667/0.7502, allocations: 281.8 kB / 0.7276 GB, free: 10.59 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006556/0.7509, allocations: 383 kB / 0.7279 GB, free: 10.2 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/0.7521, allocations: 0.6307 MB / 0.7285 GB, free: 9.562 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.7521, allocations: 0 / 0.7285 GB, free: 9.562 MB / 0.545 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002125/0.7543, allocations: 0.8916 MB / 0.7294 GB, free: 8.66 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.7543, allocations: 4 kB / 0.7294 GB, free: 8.656 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.7543, allocations: 3.984 kB / 0.7294 GB, free: 8.652 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006315/0.7549, allocations: 84.88 kB / 0.7295 GB, free: 8.566 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007098/0.7557, allocations: 167.8 kB / 0.7297 GB, free: 8.402 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002227/0.7579, allocations: 1.522 MB / 0.7311 GB, free: 6.746 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008087/0.7587, allocations: 116.6 kB / 0.7313 GB, free: 6.633 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.73e-05/0.7588, allocations: 39.91 kB / 0.7313 GB, free: 6.594 MB / 0.545 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.0005242/0.7594, allocations: 275.4 kB / 0.7316 GB, free: 6.316 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000177/0.7595, allocations: 79.06 kB / 0.7316 GB, free: 6.238 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00265/0.7622, allocations: 1.118 MB / 0.7327 GB, free: 5.105 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.7622, allocations: 8 kB / 0.7327 GB, free: 5.098 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.7622, allocations: 7.938 kB / 0.7327 GB, free: 5.09 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.7622, allocations: 3.984 kB / 0.7327 GB, free: 5.086 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003656/0.7659, allocations: 2.004 MB / 0.7347 GB, free: 3.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.7659, allocations: 0 / 0.7347 GB, free: 3.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006117/0.7665, allocations: 159.8 kB / 0.7349 GB, free: 2.863 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005303/0.7671, allocations: 84.77 kB / 0.7349 GB, free: 2.777 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-05/0.7672, allocations: 27.97 kB / 0.735 GB, free: 2.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001925/0.7691, allocations: 1.544 MB / 0.7365 GB, free: 1.062 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.7691, allocations: 3.938 kB / 0.7365 GB, free: 1.059 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002183/0.7713, allocations: 1.023 MB / 0.7375 GB, free: 20 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005693/0.7719, allocations: 303.4 kB / 0.7378 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001766/0.7721, allocations: 23.98 kB / 0.7378 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007874/0.7729, allocations: 87.38 kB / 0.7379 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001674/0.773, allocations: 64.91 kB / 0.7379 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.984e-05/0.7731, allocations: 39.97 kB / 0.738 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007043/0.7738, allocations: 467 kB / 0.7384 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.61e-07/0.7739, allocations: 0 / 0.7384 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0011/0.775, allocations: 359.1 kB / 0.7388 GB, free: 14.7 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 (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.001595/0.7766, allocations: 0.6192 MB / 0.7394 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001956/0.7785, allocations: 0.8625 MB / 0.7402 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.7786, allocations: 0 / 0.7402 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001064/0.7796, allocations: 0.5316 MB / 0.7407 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001487/0.7811, allocations: 287.4 kB / 0.741 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003541/0.7847, allocations: 2.207 MB / 0.7432 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006532/0.7853, allocations: 1.043 MB / 0.7442 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009489/0.7863, allocations: 270.8 kB / 0.7444 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002952/0.7866, allocations: 107.4 kB / 0.7445 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of SimCode: time 1.313e-06/0.7866, allocations: 3.938 kB / 0.7445 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of Templates: time 0.02979/0.8164, allocations: 15.03 MB / 0.7592 GB, free: 10.05 MB / 0.5762 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)