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.001529/0.001529, allocations: 107 kB / 17.03 MB, free: 5.699 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.001839/0.001839, allocations: 194.9 kB / 17.97 MB, free: 5.078 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: 222.9 MB / 241.7 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7708/0.7708, allocations: 115.1 MB / 406.9 MB, free: 6.383 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001418, allocations: 59.91 kB / 494.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.3441, allocations: 76.13 MB / 0.5576 GB, free: 36.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.007141/0.3513, allocations: 5.151 MB / 0.5626 GB, free: 32.94 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1624/0.5138, allocations: 150.7 MB / 0.7097 GB, free: 8.195 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001597/0.5154, allocations: 19.88 kB / 0.7098 GB, free: 8.176 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008256/0.5163, allocations: 194.1 kB / 0.7099 GB, free: 7.984 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002768/0.5191, allocations: 0.5677 MB / 0.7105 GB, free: 7.418 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002843/0.522, allocations: 0.8517 MB / 0.7113 GB, free: 6.574 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002324/0.5243, allocations: 1.464 MB / 0.7128 GB, free: 5.102 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0012/0.5255, allocations: 0.6614 MB / 0.7134 GB, free: 4.418 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009058/0.5264, allocations: 0.5178 MB / 0.7139 GB, free: 3.898 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008964/0.5274, allocations: 0.5524 MB / 0.7144 GB, free: 3.344 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002957/0.5277, allocations: 128 kB / 0.7146 GB, free: 3.219 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001235/0.5289, allocations: 0.4918 MB / 0.715 GB, free: 2.727 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004333/0.5294, allocations: 322.9 kB / 0.7154 GB, free: 2.41 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0008019/0.5302, allocations: 0.618 MB / 0.716 GB, free: 1.789 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002463/0.5327, allocations: 1.752 MB / 0.7177 GB, free: 36 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.351e-06/0.5327, allocations: 4 kB / 0.7177 GB, free: 32 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5327, allocations: 0 / 0.7177 GB, free: 32 kB / 0.545 GB Notification: Performance of Transformations before backend: time 5.657e-05/0.5328, allocations: 0 / 0.7177 GB, free: 32 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.003351/0.5361, allocations: 1.496 MB / 0.7191 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.5362, allocations: 12.03 kB / 0.7191 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001796/0.538, allocations: 311.2 kB / 0.7194 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001628/0.5396, allocations: 0.7811 MB / 0.7202 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.919e-05/0.5397, allocations: 70 kB / 0.7203 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001792/0.5399, allocations: 95.98 kB / 0.7204 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002449/0.5424, allocations: 1.074 MB / 0.7214 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.794e-05/0.5424, allocations: 4 kB / 0.7214 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001214/0.5426, allocations: 40 kB / 0.7215 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.997e-05/0.5426, allocations: 24 kB / 0.7215 GB, free: 12 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002595/0.5452, allocations: 1.276 MB / 0.7227 GB, free: 10.73 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.005665/0.5509, allocations: 2.944 MB / 0.7256 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002877/0.5538, allocations: 1.032 MB / 0.7266 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008561/0.5547, allocations: 358.6 kB / 0.7269 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.659e-05/0.5548, allocations: 32.61 kB / 0.727 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001192/0.556, allocations: 0.5606 MB / 0.7275 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=84): time 4.499e-06/0.556, allocations: 4 kB / 0.7275 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of matching and sorting (n=84): time 0.004104/0.5601, allocations: 1.384 MB / 0.7289 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/0.5603, allocations: 192.9 kB / 0.7291 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000949/0.5612, allocations: 0.6371 MB / 0.7297 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001271/0.5614, allocations: 45.7 kB / 0.7297 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003545/0.5617, allocations: 428.2 kB / 0.7301 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002655/0.562, allocations: 272.1 kB / 0.7304 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003133/0.5623, allocations: 166.5 kB / 0.7306 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.5625, allocations: 398.7 kB / 0.7309 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008135/0.5633, allocations: 321.8 kB / 0.7312 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000901/0.5642, allocations: 423 kB / 0.7316 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001651/0.5659, allocations: 0.714 MB / 0.7323 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.5659, allocations: 4 kB / 0.7323 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002609/0.5686, allocations: 0.9659 MB / 0.7333 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.5686, allocations: 13.75 kB / 0.7333 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.5686, allocations: 0 / 0.7333 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006424/0.5693, allocations: 84.86 kB / 0.7334 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009289/0.5702, allocations: 191.7 kB / 0.7336 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002233/0.5725, allocations: 1.627 MB / 0.7352 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/0.5736, allocations: 115.2 kB / 0.7353 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001642/0.5738, allocations: 44.03 kB / 0.7353 GB, free: 13.36 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.0006671/0.5745, allocations: 275.4 kB / 0.7356 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002846/0.5748, allocations: 83.05 kB / 0.7357 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003206/0.578, allocations: 1.202 MB / 0.7368 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/0.578, allocations: 8 kB / 0.7368 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.578, allocations: 3.984 kB / 0.7368 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.578, allocations: 3.984 kB / 0.7368 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004529/0.5826, allocations: 2.141 MB / 0.7389 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.5826, allocations: 4 kB / 0.7389 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007848/0.5834, allocations: 171.8 kB / 0.7391 GB, free: 9.395 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004683/0.5839, allocations: 68.8 kB / 0.7392 GB, free: 9.324 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001007/0.584, allocations: 31.97 kB / 0.7392 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002165/0.5862, allocations: 1.658 MB / 0.7408 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.5862, allocations: 3.938 kB / 0.7408 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0029/0.5891, allocations: 1.115 MB / 0.7419 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005831/0.5897, allocations: 275.7 kB / 0.7422 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000235/0.59, allocations: 31.92 kB / 0.7422 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009077/0.5909, allocations: 79.92 kB / 0.7423 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002074/0.5911, allocations: 80.77 kB / 0.7424 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001038/0.5912, allocations: 35.97 kB / 0.7424 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007328/0.592, allocations: 471 kB / 0.7428 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.71e-07/0.592, allocations: 0 / 0.7428 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00112/0.5931, allocations: 355 kB / 0.7432 GB, free: 5.039 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.001534/0.5947, allocations: 0.6001 MB / 0.7438 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002419/0.5971, allocations: 0.9485 MB / 0.7447 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.5971, allocations: 0 / 0.7447 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001352/0.5985, allocations: 0.59 MB / 0.7453 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001542/0.6001, allocations: 310.5 kB / 0.7456 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003801/0.6039, allocations: 1.772 MB / 0.7473 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2399/0.8438, allocations: 1.042 MB / 0.7483 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001374/0.8452, allocations: 274.8 kB / 0.7486 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004815/0.8457, allocations: 110.8 kB / 0.7487 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of SimCode: time 1.142e-06/0.8457, allocations: 1.5 kB / 0.7487 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.0337/0.8794, allocations: 15.88 MB / 0.7642 GB, free: 170 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 gbode -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)