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.001112/0.001112, allocations: 96.42 kB / 15.69 MB, free: 480 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.001039/0.001039, allocations: 175.3 kB / 16.57 MB, free: 6.387 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.364/1.364, allocations: 223.2 MB / 240.5 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7802/0.7802, allocations: 113.8 MB / 405.4 MB, free: 4.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003339/0.0003339, allocations: 8.75 kB / 493.1 MB, free: 8.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1727, allocations: 77.15 MB / 0.5568 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.004636/0.1774, allocations: 3.69 MB / 0.5604 GB, free: 7.926 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4833/0.6608, allocations: 127.6 MB / 0.6851 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007096/0.6615, allocations: 11.94 kB / 0.6851 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004167/0.662, allocations: 79.27 kB / 0.6851 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002063/0.6641, allocations: 0.4948 MB / 0.6856 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002544/0.6666, allocations: 0.6367 MB / 0.6862 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00196/0.6686, allocations: 0.83 MB / 0.6871 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001171/0.6698, allocations: 0.5414 MB / 0.6876 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008099/0.6706, allocations: 350.5 kB / 0.6879 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006201/0.6712, allocations: 354.1 kB / 0.6883 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001021/0.6713, allocations: 32 kB / 0.6883 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001157/0.6725, allocations: 323.6 kB / 0.6886 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002885/0.6728, allocations: 191.2 kB / 0.6888 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002579/0.6731, allocations: 201.1 kB / 0.689 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001917/0.675, allocations: 1.237 MB / 0.6902 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.675, allocations: 3.938 kB / 0.6902 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.757e-06/0.675, allocations: 0 / 0.6902 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.411e-05/0.6751, allocations: 0 / 0.6902 GB, free: 1.328 MB / 0.4981 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.00349/0.6786, allocations: 1.271 MB / 0.6914 GB, free: 12 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.67e-05/0.6786, allocations: 12.03 kB / 0.6914 GB, free: 0 / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001767/0.6804, allocations: 226.5 kB / 0.6917 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001696/0.6821, allocations: 0.7341 MB / 0.6924 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001075/0.6822, allocations: 74 kB / 0.6924 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000194/0.6825, allocations: 95.78 kB / 0.6925 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002684/0.6852, allocations: 1.008 MB / 0.6935 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.503e-05/0.6852, allocations: 0 / 0.6935 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001478/0.6854, allocations: 44 kB / 0.6936 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.013e-05/0.6854, allocations: 20 kB / 0.6936 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00317/0.6886, allocations: 1.175 MB / 0.6947 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006727/0.6953, allocations: 2.731 MB / 0.6974 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002612/0.698, allocations: 0.9207 MB / 0.6983 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008998/0.6989, allocations: 470.1 kB / 0.6987 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0014/0.7003, allocations: 0.4952 MB / 0.6992 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=82): time 3.938e-06/0.7003, allocations: 0 / 0.6992 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of matching and sorting (n=82): time 0.004912/0.7052, allocations: 1.237 MB / 0.7004 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000134/0.7054, allocations: 188.6 kB / 0.7006 GB, free: 6.242 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001272/0.7067, allocations: 0.6411 MB / 0.7012 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.815e-05/0.7068, allocations: 37.7 kB / 0.7013 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004989/0.7073, allocations: 424.2 kB / 0.7017 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003324/0.7076, allocations: 268.2 kB / 0.7019 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.824e-05/0.7077, allocations: 12 kB / 0.7019 GB, free: 4.852 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002507/0.708, allocations: 394.8 kB / 0.7023 GB, free: 4.457 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008774/0.7089, allocations: 249.9 kB / 0.7026 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/0.7099, allocations: 374.5 kB / 0.7029 GB, free: 3.824 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009574/0.7109, allocations: 302.9 kB / 0.7032 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.7109, allocations: 0 / 0.7032 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003082/0.714, allocations: 0.8253 MB / 0.704 GB, free: 2.691 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.067e-05/0.714, allocations: 8 kB / 0.704 GB, free: 2.684 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.7141, allocations: 0 / 0.704 GB, free: 2.684 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008486/0.7149, allocations: 84.86 kB / 0.7041 GB, free: 2.598 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/0.716, allocations: 155.8 kB / 0.7042 GB, free: 2.445 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003161/0.7192, allocations: 1.535 MB / 0.7057 GB, free: 0.7773 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/0.7205, allocations: 107.3 kB / 0.7058 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/0.7206, allocations: 28.31 kB / 0.7059 GB, free: 0.6445 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 ($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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * 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.0007356/0.7214, allocations: 282.3 kB / 0.7061 GB, free: 368 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002244/0.7216, allocations: 82.97 kB / 0.7062 GB, free: 284 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003959/0.7256, allocations: 1.105 MB / 0.7073 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.404e-05/0.7256, allocations: 12 kB / 0.7073 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.7256, allocations: 0 / 0.7073 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.455e-05/0.7257, allocations: 3.984 kB / 0.7073 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005458/0.7311, allocations: 2.017 MB / 0.7093 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.7312, allocations: 0 / 0.7093 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001079/0.7323, allocations: 155.8 kB / 0.7094 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007703/0.733, allocations: 84.77 kB / 0.7095 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.79e-05/0.7331, allocations: 23.98 kB / 0.7095 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002711/0.7359, allocations: 1.564 MB / 0.7111 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.7359, allocations: 0 / 0.7111 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003349/0.7393, allocations: 1.023 MB / 0.7121 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007811/0.7401, allocations: 291.6 kB / 0.7123 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001983/0.7403, allocations: 20 kB / 0.7124 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001146/0.7414, allocations: 80.73 kB / 0.7124 GB, free: 9.656 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000227/0.7417, allocations: 76.89 kB / 0.7125 GB, free: 9.582 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001222/0.7418, allocations: 35.97 kB / 0.7125 GB, free: 9.547 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000981/0.7428, allocations: 467 kB / 0.713 GB, free: 9.098 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.81e-07/0.7428, allocations: 0 / 0.713 GB, free: 9.098 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001531/0.7444, allocations: 335.1 kB / 0.7133 GB, free: 8.77 MB / 0.5294 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.002098/0.7465, allocations: 0.6127 MB / 0.7139 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00183/0.7483, allocations: 0.8195 MB / 0.7147 GB, free: 7.504 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.7483, allocations: 0 / 0.7147 GB, free: 7.504 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009631/0.7493, allocations: 0.5316 MB / 0.7152 GB, free: 6.957 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/0.7505, allocations: 254.1 kB / 0.7155 GB, free: 6.723 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004241/0.7547, allocations: 2.281 MB / 0.7177 GB, free: 4.418 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007515/0.7555, allocations: 1.063 MB / 0.7187 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0009712/0.7565, allocations: 274.7 kB / 0.719 GB, free: 3.055 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002641/0.7567, allocations: 107.3 kB / 0.7191 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of SimCode: time 8.61e-07/0.7567, allocations: 0 / 0.7191 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of Templates: time 0.0314/0.7882, allocations: 14.1 MB / 0.7329 GB, free: 5.016 MB / 0.545 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)