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.00155/0.00155, allocations: 108.1 kB / 15.99 MB, free: 6.332 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.001841/0.001841, allocations: 194.3 kB / 16.91 MB, free: 6.18 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.361/1.361, allocations: 222.9 MB / 240.6 MB, free: 15.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.759/0.759, allocations: 122.9 MB / 413.6 MB, free: 112 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 63.91 kB / 0.4906 GB, free: 7.859 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3804/0.3817, allocations: 77.93 MB / 0.5667 GB, free: 32.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.007251/0.389, allocations: 5.147 MB / 0.5717 GB, free: 28.96 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1684/0.5574, allocations: 148.4 MB / 0.7167 GB, free: 0.918 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001707/0.5592, allocations: 15.94 kB / 0.7167 GB, free: 0.9023 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001043/0.5603, allocations: 154.7 kB / 0.7168 GB, free: 0.75 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002729/0.5631, allocations: 0.5117 MB / 0.7173 GB, free: 248 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002745/0.5658, allocations: 0.7651 MB / 0.7181 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002282/0.5681, allocations: 1.456 MB / 0.7195 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00131/0.5694, allocations: 0.6576 MB / 0.7202 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001112/0.5706, allocations: 0.5255 MB / 0.7207 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001007/0.5716, allocations: 0.5523 MB / 0.7212 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004249/0.572, allocations: 128 kB / 0.7213 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001499/0.5735, allocations: 471.7 kB / 0.7218 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004873/0.574, allocations: 319 kB / 0.7221 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001096/0.5752, allocations: 0.618 MB / 0.7227 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003271/0.5784, allocations: 1.71 MB / 0.7244 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/0.5785, allocations: 0 / 0.7244 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.285e-06/0.5785, allocations: 3.938 kB / 0.7244 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.703e-05/0.5785, allocations: 3.984 kB / 0.7244 GB, free: 9.012 MB / 0.5606 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.003628/0.5822, allocations: 1.504 MB / 0.7258 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/0.5822, allocations: 12.03 kB / 0.7258 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001846/0.5841, allocations: 303.2 kB / 0.7261 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001184/0.5853, allocations: 0.7693 MB / 0.7269 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.951e-05/0.5854, allocations: 74 kB / 0.727 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001465/0.5855, allocations: 88 kB / 0.727 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002133/0.5877, allocations: 1.074 MB / 0.7281 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.787e-05/0.5877, allocations: 4 kB / 0.7281 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.851e-05/0.5878, allocations: 36 kB / 0.7281 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.252e-05/0.5879, allocations: 24 kB / 0.7282 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002443/0.5903, allocations: 1.276 MB / 0.7294 GB, free: 3.727 MB / 0.5606 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.005005/0.5953, allocations: 2.978 MB / 0.7323 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002777/0.5981, allocations: 1.02 MB / 0.7333 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008073/0.5989, allocations: 362.6 kB / 0.7336 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.052e-05/0.599, allocations: 32.61 kB / 0.7337 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001238/0.6003, allocations: 0.5644 MB / 0.7342 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=84): time 2.765e-06/0.6003, allocations: 0 / 0.7342 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of matching and sorting (n=84): time 0.004041/0.6044, allocations: 1.384 MB / 0.7356 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/0.6045, allocations: 188.9 kB / 0.7358 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009169/0.6054, allocations: 0.6372 MB / 0.7364 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001077/0.6055, allocations: 41.7 kB / 0.7364 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003937/0.6059, allocations: 436 kB / 0.7368 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002517/0.6062, allocations: 272.1 kB / 0.7371 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002835/0.6065, allocations: 174.5 kB / 0.7373 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.6067, allocations: 382.8 kB / 0.7376 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007746/0.6074, allocations: 329.8 kB / 0.7379 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008789/0.6083, allocations: 419.1 kB / 0.7383 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001592/0.6099, allocations: 0.714 MB / 0.739 GB, free: 9.539 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.61, allocations: 0 / 0.739 GB, free: 9.539 MB / 0.5762 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00256/0.6125, allocations: 0.9659 MB / 0.74 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.6126, allocations: 4 kB / 0.74 GB, free: 8.559 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/0.6126, allocations: 4 kB / 0.74 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006202/0.6132, allocations: 88.75 kB / 0.7401 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008418/0.6141, allocations: 187.7 kB / 0.7403 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002246/0.6163, allocations: 1.647 MB / 0.7419 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/0.6174, allocations: 119.3 kB / 0.742 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.553e-05/0.6174, allocations: 31.98 kB / 0.742 GB, free: 6.34 MB / 0.5762 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.0006244/0.6181, allocations: 275.4 kB / 0.7423 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002045/0.6183, allocations: 82.97 kB / 0.7424 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00292/0.6212, allocations: 1.206 MB / 0.7435 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/0.6212, allocations: 12 kB / 0.7435 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/0.6213, allocations: 0 / 0.7435 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.6213, allocations: 7.984 kB / 0.7435 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003873/0.6251, allocations: 2.143 MB / 0.7456 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.6252, allocations: 0 / 0.7456 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007585/0.6259, allocations: 175.8 kB / 0.7458 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004818/0.6264, allocations: 76.78 kB / 0.7459 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.878e-05/0.6265, allocations: 23.98 kB / 0.7459 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001983/0.6285, allocations: 1.662 MB / 0.7475 GB, free: 468 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.6285, allocations: 4.062 kB / 0.7475 GB, free: 464 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2817/0.9102, allocations: 1.109 MB / 0.7486 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005151/0.9108, allocations: 281.1 kB / 0.7489 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001478/0.911, allocations: 19.38 kB / 0.7489 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008606/0.9118, allocations: 88.86 kB / 0.749 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002012/0.912, allocations: 75.62 kB / 0.7491 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.722e-05/0.9122, allocations: 38.72 kB / 0.7491 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007012/0.9129, allocations: 471.8 kB / 0.7495 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9129, allocations: 0.5 kB / 0.7495 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001117/0.914, allocations: 347.7 kB / 0.7499 GB, free: 170.2 MB / 0.5762 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.001522/0.9155, allocations: 0.5957 MB / 0.7505 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003392/0.9189, allocations: 1.168 MB / 0.7516 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.919, allocations: 1.062 kB / 0.7516 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001276/0.9202, allocations: 0.5834 MB / 0.7522 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001477/0.9217, allocations: 304.8 kB / 0.7525 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004188/0.9259, allocations: 2.251 MB / 0.7547 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000622/0.9266, allocations: 1.045 MB / 0.7557 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001147/0.9277, allocations: 288.9 kB / 0.756 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000309/0.9281, allocations: 108.9 kB / 0.7561 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of SimCode: time 6.41e-07/0.9281, allocations: 7.156 kB / 0.7561 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of Templates: time 0.0288/0.9569, allocations: 15.78 MB / 0.7715 GB, free: 161.6 MB / 0.5762 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)