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.001628/0.001628, allocations: 107.3 kB / 17.03 MB, free: 5.656 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.001872/0.001872, allocations: 192.1 kB / 17.97 MB, free: 5.062 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.326/1.326, allocations: 222.9 MB / 241.7 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7218/0.7218, allocations: 115.1 MB / 406.9 MB, free: 6.367 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 63.89 kB / 494.8 MB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.344/0.3452, allocations: 76.15 MB / 0.5576 GB, free: 36.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.005805/0.351, allocations: 5.139 MB / 0.5626 GB, free: 32.94 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1567/0.5078, allocations: 150.7 MB / 0.7097 GB, free: 8.223 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001018/0.5089, allocations: 15.94 kB / 0.7098 GB, free: 8.207 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007295/0.5096, allocations: 198.1 kB / 0.7099 GB, free: 8.012 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002303/0.512, allocations: 0.5612 MB / 0.7105 GB, free: 7.453 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002514/0.5145, allocations: 0.8577 MB / 0.7113 GB, free: 6.602 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001553/0.516, allocations: 1.464 MB / 0.7128 GB, free: 5.129 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008878/0.5169, allocations: 0.6614 MB / 0.7134 GB, free: 4.445 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005989/0.5176, allocations: 0.5217 MB / 0.7139 GB, free: 3.922 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005984/0.5182, allocations: 0.5485 MB / 0.7144 GB, free: 3.371 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001515/0.5183, allocations: 128 kB / 0.7146 GB, free: 3.246 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008505/0.5192, allocations: 0.4917 MB / 0.715 GB, free: 2.754 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002884/0.5195, allocations: 326.9 kB / 0.7154 GB, free: 2.434 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000509/0.52, allocations: 0.6103 MB / 0.716 GB, free: 1.82 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001715/0.5217, allocations: 1.748 MB / 0.7177 GB, free: 72 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.5217, allocations: 4 kB / 0.7177 GB, free: 68 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5217, allocations: 0 / 0.7177 GB, free: 68 kB / 0.545 GB Notification: Performance of Transformations before backend: time 1.943e-05/0.5218, allocations: 0 / 0.7177 GB, free: 68 kB / 0.545 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.002618/0.5244, allocations: 1.504 MB / 0.7191 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.5244, allocations: 8.031 kB / 0.7191 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001654/0.5261, allocations: 311.2 kB / 0.7194 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001423/0.5275, allocations: 0.785 MB / 0.7202 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.363e-05/0.5276, allocations: 73.98 kB / 0.7203 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.5278, allocations: 92 kB / 0.7204 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002031/0.5298, allocations: 1.07 MB / 0.7214 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.5298, allocations: 0 / 0.7214 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-05/0.5299, allocations: 40 kB / 0.7214 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.055e-05/0.53, allocations: 24 kB / 0.7215 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002271/0.5322, allocations: 1.272 MB / 0.7227 GB, free: 10.77 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.004738/0.537, allocations: 2.957 MB / 0.7256 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002532/0.5395, allocations: 1.034 MB / 0.7266 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007571/0.5403, allocations: 358.6 kB / 0.727 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.696e-05/0.5404, allocations: 36.59 kB / 0.727 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001082/0.5415, allocations: 0.5605 MB / 0.7275 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=84): time 2.624e-06/0.5415, allocations: 0 / 0.7275 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=84): time 0.003752/0.5453, allocations: 1.384 MB / 0.7289 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/0.5454, allocations: 188.9 kB / 0.7291 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007654/0.5462, allocations: 0.6371 MB / 0.7297 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.913e-05/0.5462, allocations: 49.64 kB / 0.7297 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003488/0.5466, allocations: 428.2 kB / 0.7301 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002473/0.5469, allocations: 272.1 kB / 0.7304 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002619/0.5471, allocations: 166.5 kB / 0.7306 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000183/0.5473, allocations: 394.7 kB / 0.7309 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007431/0.5481, allocations: 325.8 kB / 0.7312 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008517/0.5489, allocations: 419 kB / 0.7316 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001487/0.5504, allocations: 0.714 MB / 0.7323 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.5504, allocations: 7.938 kB / 0.7324 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002278/0.5527, allocations: 0.9619 MB / 0.7333 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.5528, allocations: 8 kB / 0.7333 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.5528, allocations: 3.938 kB / 0.7333 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005884/0.5534, allocations: 84.86 kB / 0.7334 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008129/0.5542, allocations: 187.8 kB / 0.7336 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002037/0.5562, allocations: 1.63 MB / 0.7352 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00081/0.5571, allocations: 123.2 kB / 0.7353 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.849e-05/0.5572, allocations: 39.97 kB / 0.7353 GB, free: 13.39 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.0003981/0.5576, allocations: 275.5 kB / 0.7356 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/0.5577, allocations: 83.06 kB / 0.7357 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002766/0.5605, allocations: 1.206 MB / 0.7368 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.5605, allocations: 8 kB / 0.7368 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.5605, allocations: 0 / 0.7368 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.5605, allocations: 3.984 kB / 0.7368 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003666/0.5642, allocations: 2.141 MB / 0.7389 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.5642, allocations: 0 / 0.7389 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007374/0.565, allocations: 175.8 kB / 0.7391 GB, free: 9.422 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004261/0.5654, allocations: 68.8 kB / 0.7392 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.544e-05/0.5655, allocations: 31.97 kB / 0.7392 GB, free: 9.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001767/0.5673, allocations: 1.662 MB / 0.7408 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5673, allocations: 4.062 kB / 0.7408 GB, free: 7.508 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002357/0.5696, allocations: 1.119 MB / 0.7419 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003877/0.57, allocations: 275.7 kB / 0.7422 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/0.5702, allocations: 27.94 kB / 0.7422 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000775/0.571, allocations: 84.53 kB / 0.7423 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/0.5711, allocations: 72.84 kB / 0.7424 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.538e-05/0.5712, allocations: 35.97 kB / 0.7424 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005215/0.5717, allocations: 467 kB / 0.7428 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5717, allocations: 4 kB / 0.7428 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008578/0.5726, allocations: 355 kB / 0.7432 GB, free: 5.066 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.001294/0.5739, allocations: 0.593 MB / 0.7438 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00204/0.5759, allocations: 0.9485 MB / 0.7447 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.576, allocations: 0 / 0.7447 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001154/0.5771, allocations: 0.5861 MB / 0.7453 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.5782, allocations: 311.8 kB / 0.7456 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003004/0.5813, allocations: 1.775 MB / 0.7473 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2614/0.8427, allocations: 1.047 MB / 0.7483 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001261/0.844, allocations: 271.3 kB / 0.7486 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000358/0.8443, allocations: 109.8 kB / 0.7487 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of SimCode: time 1.123e-06/0.8444, allocations: 0 / 0.7487 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.0299/0.8743, allocations: 15.9 MB / 0.7642 GB, free: 170.1 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)