Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 108.3 kB / 16.4 MB, free: 6.434 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.0012/0.0012, allocations: 193.1 kB / 17.34 MB, free: 5.719 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.401/1.401, allocations: 222.9 MB / 241 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.7683/0.7683, allocations: 115.3 MB / 406.5 MB, free: 6.203 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 65.23 kB / 0.5577 GB, free: 32.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1664, allocations: 76.19 MB / 0.6321 GB, free: 4.438 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.007231/0.1737, allocations: 5.149 MB / 0.6371 GB, free: 15.26 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.6475/0.8212, allocations: 150.7 MB / 0.7842 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001102/0.8224, allocations: 15.72 kB / 0.7842 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007934/0.8232, allocations: 204.7 kB / 0.7844 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002065/0.8253, allocations: 0.5648 MB / 0.785 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00212/0.8275, allocations: 0.8596 MB / 0.7858 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001902/0.8294, allocations: 1.45 MB / 0.7872 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001072/0.8305, allocations: 0.6635 MB / 0.7879 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009029/0.8314, allocations: 0.5245 MB / 0.7884 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008147/0.8322, allocations: 0.5553 MB / 0.7889 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002424/0.8325, allocations: 127.6 kB / 0.7891 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001074/0.8335, allocations: 497.5 kB / 0.7895 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003111/0.8339, allocations: 319.7 kB / 0.7898 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006702/0.8345, allocations: 0.6136 MB / 0.7904 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002609/0.8372, allocations: 1.748 MB / 0.7922 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.8372, allocations: 0 / 0.7922 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.485e-06/0.8372, allocations: 0 / 0.7922 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.616e-05/0.8372, allocations: 2.938 kB / 0.7922 GB, free: 13.07 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003353/0.8406, allocations: 1.514 MB / 0.7936 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/0.8407, allocations: 10.72 kB / 0.7936 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001902/0.8426, allocations: 304.1 kB / 0.7939 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001459/0.8441, allocations: 0.7856 MB / 0.7947 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.391e-05/0.8441, allocations: 72.56 kB / 0.7948 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000139/0.8443, allocations: 92.61 kB / 0.7949 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002106/0.8464, allocations: 1.071 MB / 0.7959 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.412e-05/0.8464, allocations: 2.188 kB / 0.7959 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.193e-05/0.8465, allocations: 40.72 kB / 0.7959 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.788e-05/0.8466, allocations: 24 kB / 0.796 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002261/0.8488, allocations: 1.271 MB / 0.7972 GB, free: 11.66 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.00492/0.8538, allocations: 2.964 MB / 0.8001 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002673/0.8565, allocations: 1.028 MB / 0.8011 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007833/0.8573, allocations: 363.1 kB / 0.8015 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.785e-05/0.8574, allocations: 39.86 kB / 0.8015 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001138/0.8585, allocations: 0.5574 MB / 0.802 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=84): time 2.685e-06/0.8585, allocations: 0 / 0.802 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84): time 0.004059/0.8626, allocations: 1.386 MB / 0.8034 GB, free: 9.402 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.98e-05/0.8627, allocations: 191 kB / 0.8036 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008159/0.8635, allocations: 0.6349 MB / 0.8042 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001145/0.8637, allocations: 49.41 kB / 0.8042 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000328/0.864, allocations: 425.8 kB / 0.8046 GB, free: 8.688 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002278/0.8642, allocations: 277.5 kB / 0.8049 GB, free: 8.492 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002761/0.8645, allocations: 167.6 kB / 0.8051 GB, free: 8.445 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.8647, allocations: 388.6 kB / 0.8054 GB, free: 8.109 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007833/0.8655, allocations: 328.9 kB / 0.8058 GB, free: 8.055 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008861/0.8664, allocations: 414.5 kB / 0.8062 GB, free: 7.938 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001571/0.868, allocations: 0.715 MB / 0.8068 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.868, allocations: 0 / 0.8068 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002546/0.8705, allocations: 0.9668 MB / 0.8078 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.8706, allocations: 12.7 kB / 0.8078 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.8706, allocations: 6.656 kB / 0.8078 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006248/0.8712, allocations: 78.81 kB / 0.8079 GB, free: 7.539 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008576/0.8721, allocations: 185.6 kB / 0.8081 GB, free: 7.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002146/0.8742, allocations: 1.632 MB / 0.8097 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/0.8753, allocations: 124.4 kB / 0.8098 GB, free: 5.969 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.088e-05/0.8754, allocations: 37.56 kB / 0.8098 GB, free: 5.961 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 (98): * Single equations (assignments): 97 * 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.0005288/0.876, allocations: 269.6 kB / 0.8101 GB, free: 5.812 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001967/0.8762, allocations: 85.72 kB / 0.8102 GB, free: 5.77 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003106/0.8793, allocations: 1.204 MB / 0.8113 GB, free: 5.102 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.8793, allocations: 10.06 kB / 0.8113 GB, free: 5.102 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.8793, allocations: 0 / 0.8113 GB, free: 5.102 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.373e-05/0.8794, allocations: 3.984 kB / 0.8113 GB, free: 5.098 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004508/0.8839, allocations: 2.144 MB / 0.8134 GB, free: 3.723 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.8839, allocations: 0 / 0.8134 GB, free: 3.723 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007881/0.8847, allocations: 170.6 kB / 0.8136 GB, free: 3.684 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004909/0.8852, allocations: 82.53 kB / 0.8137 GB, free: 3.637 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.198e-05/0.8853, allocations: 23.73 kB / 0.8137 GB, free: 3.621 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002161/0.8875, allocations: 1.656 MB / 0.8153 GB, free: 2.008 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.8875, allocations: 0 / 0.8153 GB, free: 2.008 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002832/0.8903, allocations: 1.121 MB / 0.8164 GB, free: 1.395 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005181/0.8909, allocations: 277.9 kB / 0.8167 GB, free: 1.152 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001381/0.891, allocations: 20.75 kB / 0.8167 GB, free: 1.137 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008168/0.8919, allocations: 84.55 kB / 0.8168 GB, free: 1.098 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001747/0.892, allocations: 75.95 kB / 0.8168 GB, free: 1.059 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.872e-05/0.8921, allocations: 39.03 kB / 0.8169 GB, free: 1.043 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006821/0.8928, allocations: 469.8 kB / 0.8173 GB, free: 0.7734 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8928, allocations: 0 / 0.8173 GB, free: 0.7734 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001128/0.894, allocations: 352.1 kB / 0.8177 GB, free: 0.6719 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 (97): * Single equations (assignments): 91 * 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.0015/0.8955, allocations: 0.6075 MB / 0.8183 GB, free: 408 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002787/0.8983, allocations: 0.9539 MB / 0.8192 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/0.8983, allocations: 0 / 0.8192 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001485/0.8998, allocations: 0.5839 MB / 0.8198 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001703/0.9015, allocations: 305.4 kB / 0.8201 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003889/0.9054, allocations: 1.778 MB / 0.8218 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007024/0.9062, allocations: 1.049 MB / 0.8228 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001203/0.9074, allocations: 284.6 kB / 0.8231 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003191/0.9077, allocations: 108.7 kB / 0.8232 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of SimCode: time 9.62e-07/0.9077, allocations: 0 / 0.8232 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of Templates: time 0.02794/0.9357, allocations: 16.36 MB / 0.8392 GB, free: 15.22 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)