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.0008712/0.0008715, allocations: 88.17 kB / 15.7 MB, free: 460 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.001106/0.001106, allocations: 176.4 kB / 16.58 MB, free: 6.504 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.428/1.428, allocations: 223.3 MB / 240.6 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7417/0.7417, allocations: 115.5 MB / 407.2 MB, free: 2.816 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004842/0.0004843, allocations: 8 kB / 495.2 MB, free: 6.711 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1902/0.1907, allocations: 77.52 MB / 0.5593 GB, free: 9.383 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005992/0.1968, allocations: 4.458 MB / 0.5637 GB, free: 4.91 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4809/0.6777, allocations: 136.9 MB / 0.6974 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007236/0.6785, allocations: 11.94 kB / 0.6974 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007206/0.6792, allocations: 146.8 kB / 0.6975 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001616/0.6809, allocations: 475.8 kB / 0.698 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001835/0.6827, allocations: 0.6537 MB / 0.6986 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001435/0.6842, allocations: 1.265 MB / 0.6999 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008115/0.685, allocations: 0.5106 MB / 0.7004 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005051/0.6855, allocations: 362.4 kB / 0.7007 GB, free: 6.383 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005057/0.686, allocations: 394 kB / 0.7011 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.088e-05/0.6861, allocations: 24 kB / 0.7011 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000744/0.6869, allocations: 355.7 kB / 0.7014 GB, free: 5.625 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002064/0.6871, allocations: 191.1 kB / 0.7016 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002106/0.6873, allocations: 221.1 kB / 0.7018 GB, free: 5.215 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001331/0.6886, allocations: 1.255 MB / 0.7031 GB, free: 3.957 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.6886, allocations: 0 / 0.7031 GB, free: 3.957 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.953e-06/0.6887, allocations: 0 / 0.7031 GB, free: 3.957 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.533e-05/0.6887, allocations: 0 / 0.7031 GB, free: 3.957 MB / 0.5137 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.002142/0.6908, allocations: 1.3 MB / 0.7043 GB, free: 2.609 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.6909, allocations: 8.031 kB / 0.7043 GB, free: 2.602 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/0.6919, allocations: 222.4 kB / 0.7046 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.6929, allocations: 0.7341 MB / 0.7053 GB, free: 1.602 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.726e-05/0.693, allocations: 74 kB / 0.7053 GB, free: 1.531 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.6931, allocations: 91.95 kB / 0.7054 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001694/0.6948, allocations: 1.012 MB / 0.7064 GB, free: 396 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.6948, allocations: 0 / 0.7064 GB, free: 396 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.254e-05/0.6949, allocations: 47.98 kB / 0.7065 GB, free: 348 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.178e-05/0.695, allocations: 24 kB / 0.7065 GB, free: 324 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001916/0.6969, allocations: 1.171 MB / 0.7076 GB, free: 15.15 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.00431/0.7012, allocations: 2.993 MB / 0.7106 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001568/0.7028, allocations: 0.9225 MB / 0.7115 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005491/0.7034, allocations: 324.4 kB / 0.7118 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006314/0.704, allocations: 470.1 kB / 0.7122 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009402/0.705, allocations: 0.4992 MB / 0.7127 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=82): time 3.066e-06/0.705, allocations: 3.938 kB / 0.7127 GB, free: 9.68 MB / 0.5294 GB Notification: Performance of matching and sorting (n=82): time 0.003195/0.7082, allocations: 1.241 MB / 0.7139 GB, free: 8.41 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.061e-05/0.7083, allocations: 192.6 kB / 0.7141 GB, free: 8.18 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000757/0.709, allocations: 0.6332 MB / 0.7147 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.965e-05/0.7091, allocations: 45.7 kB / 0.7148 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003199/0.7094, allocations: 424.2 kB / 0.7152 GB, free: 7.066 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002294/0.7097, allocations: 268.2 kB / 0.7154 GB, free: 6.801 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.451e-05/0.7097, allocations: 19.94 kB / 0.7154 GB, free: 6.781 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001944/0.7099, allocations: 386.8 kB / 0.7158 GB, free: 6.395 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005451/0.7105, allocations: 281.8 kB / 0.7161 GB, free: 6.121 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006344/0.7111, allocations: 371.1 kB / 0.7164 GB, free: 5.742 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005914/0.7117, allocations: 318.9 kB / 0.7167 GB, free: 5.434 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.7117, allocations: 0 / 0.7167 GB, free: 5.434 MB / 0.5294 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001873/0.7136, allocations: 0.8838 MB / 0.7176 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.7136, allocations: 4 kB / 0.7176 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.7137, allocations: 4 kB / 0.7176 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005391/0.7142, allocations: 84.86 kB / 0.7177 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006654/0.7149, allocations: 163.8 kB / 0.7178 GB, free: 4.289 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001909/0.7168, allocations: 1.529 MB / 0.7193 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007251/0.7175, allocations: 116.5 kB / 0.7194 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.147e-05/0.7176, allocations: 35.97 kB / 0.7195 GB, free: 2.477 MB / 0.5294 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.0004315/0.7181, allocations: 271.4 kB / 0.7197 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.7182, allocations: 86.91 kB / 0.7198 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002478/0.7207, allocations: 1.113 MB / 0.7209 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.7207, allocations: 8 kB / 0.7209 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.7207, allocations: 0 / 0.7209 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.7207, allocations: 7.984 kB / 0.7209 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003303/0.724, allocations: 2.008 MB / 0.7229 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.7241, allocations: 4 kB / 0.7229 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006247/0.7247, allocations: 151.8 kB / 0.723 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004587/0.7252, allocations: 88.8 kB / 0.7231 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.683e-05/0.7252, allocations: 23.98 kB / 0.7231 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001736/0.727, allocations: 1.548 MB / 0.7247 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.727, allocations: 0 / 0.7247 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001952/0.7289, allocations: 1.023 MB / 0.7257 GB, free: 11.91 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003931/0.7293, allocations: 291.6 kB / 0.7259 GB, free: 11.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/0.7295, allocations: 20 kB / 0.726 GB, free: 11.58 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006626/0.7301, allocations: 90.02 kB / 0.726 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001498/0.7303, allocations: 68.89 kB / 0.7261 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.172e-05/0.7304, allocations: 39.97 kB / 0.7261 GB, free: 11.39 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005564/0.7309, allocations: 459 kB / 0.7266 GB, free: 10.95 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.21e-07/0.731, allocations: 4 kB / 0.7266 GB, free: 10.94 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009818/0.7319, allocations: 355.1 kB / 0.7269 GB, free: 10.59 MB / 0.545 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.001292/0.7332, allocations: 0.6264 MB / 0.7275 GB, free: 10.16 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001669/0.7349, allocations: 0.8591 MB / 0.7284 GB, free: 9.289 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.7349, allocations: 0 / 0.7284 GB, free: 9.289 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009184/0.7359, allocations: 0.5275 MB / 0.7289 GB, free: 8.75 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/0.737, allocations: 266.7 kB / 0.7291 GB, free: 8.492 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003138/0.7402, allocations: 2.143 MB / 0.7312 GB, free: 6.324 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000583/0.7408, allocations: 1.047 MB / 0.7323 GB, free: 5.246 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008693/0.7416, allocations: 270.8 kB / 0.7325 GB, free: 4.977 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002581/0.7419, allocations: 103.4 kB / 0.7326 GB, free: 4.875 MB / 0.545 GB Notification: Performance of SimCode: time 6.41e-07/0.7419, allocations: 0 / 0.7326 GB, free: 4.875 MB / 0.545 GB Notification: Performance of Templates: time 0.02443/0.7664, allocations: 14.59 MB / 0.7469 GB, free: 6.48 MB / 0.5606 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)