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.001292/0.001292, allocations: 103.9 kB / 16.27 MB, free: 6.047 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.001399/0.0014, allocations: 186.7 kB / 17.19 MB, free: 5.688 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.412/1.412, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.74/0.74, allocations: 122.9 MB / 413.9 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 55.91 kB / 0.4911 GB, free: 7.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4601/0.4614, allocations: 77.93 MB / 0.5672 GB, free: 32.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.007207/0.4687, allocations: 5.138 MB / 0.5722 GB, free: 28.9 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1831/0.6518, allocations: 150.7 MB / 0.7194 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001612/0.6534, allocations: 15.94 kB / 0.7194 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007315/0.6542, allocations: 206.1 kB / 0.7196 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002029/0.6563, allocations: 0.5735 MB / 0.7201 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002151/0.6584, allocations: 0.8495 MB / 0.721 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001616/0.6601, allocations: 1.44 MB / 0.7224 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009267/0.661, allocations: 0.6614 MB / 0.723 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007284/0.6617, allocations: 0.5217 MB / 0.7235 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006111/0.6624, allocations: 0.5485 MB / 0.7241 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.00018/0.6625, allocations: 128 kB / 0.7242 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001/0.6636, allocations: 471.6 kB / 0.7246 GB, free: 9.047 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000283/0.6639, allocations: 327 kB / 0.7249 GB, free: 8.727 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000551/0.6644, allocations: 0.6064 MB / 0.7255 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00195/0.6664, allocations: 1.714 MB / 0.7272 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.6664, allocations: 0 / 0.7272 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.916e-06/0.6664, allocations: 0 / 0.7272 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.411e-05/0.6664, allocations: 3.938 kB / 0.7272 GB, free: 6.395 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.002534/0.669, allocations: 1.5 MB / 0.7287 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.669, allocations: 8.031 kB / 0.7287 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00164/0.6706, allocations: 311.2 kB / 0.729 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.6717, allocations: 0.7732 MB / 0.7297 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.23e-05/0.6717, allocations: 70 kB / 0.7298 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001245/0.6719, allocations: 96 kB / 0.7299 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001816/0.6737, allocations: 1.07 MB / 0.7309 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.6737, allocations: 3.938 kB / 0.7309 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-05/0.6738, allocations: 44 kB / 0.731 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.024e-05/0.6739, allocations: 24 kB / 0.731 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002213/0.6761, allocations: 1.264 MB / 0.7322 GB, free: 1.109 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.004473/0.6806, allocations: 2.976 MB / 0.7352 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002586/0.6832, allocations: 1.032 MB / 0.7362 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007702/0.6839, allocations: 358.6 kB / 0.7365 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.387e-05/0.684, allocations: 40.59 kB / 0.7365 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001143/0.6852, allocations: 0.5624 MB / 0.7371 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=84): time 2.755e-06/0.6852, allocations: 0 / 0.7371 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=84): time 0.003815/0.689, allocations: 1.384 MB / 0.7384 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/0.6892, allocations: 192.9 kB / 0.7386 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000838/0.69, allocations: 0.6333 MB / 0.7392 GB, free: 9.691 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.499e-05/0.6901, allocations: 49.69 kB / 0.7393 GB, free: 9.637 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003647/0.6905, allocations: 428.2 kB / 0.7397 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002131/0.6907, allocations: 268.1 kB / 0.74 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002589/0.6909, allocations: 174.5 kB / 0.7401 GB, free: 8.77 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.6911, allocations: 390.8 kB / 0.7405 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007516/0.6919, allocations: 325.8 kB / 0.7408 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000859/0.6928, allocations: 419.1 kB / 0.7412 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001568/0.6943, allocations: 0.714 MB / 0.7419 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.6943, allocations: 0 / 0.7419 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002449/0.6968, allocations: 0.9697 MB / 0.7428 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.6968, allocations: 12.09 kB / 0.7429 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.6968, allocations: 3.984 kB / 0.7429 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005714/0.6974, allocations: 80.77 kB / 0.7429 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008242/0.6983, allocations: 191.7 kB / 0.7431 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002479/0.7007, allocations: 1.632 MB / 0.7447 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009837/0.7017, allocations: 123.2 kB / 0.7448 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-05/0.7018, allocations: 39.97 kB / 0.7449 GB, free: 3.707 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.0006085/0.7025, allocations: 271.6 kB / 0.7451 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001809/0.7026, allocations: 86.97 kB / 0.7452 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002861/0.7055, allocations: 1.202 MB / 0.7464 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/0.7055, allocations: 8 kB / 0.7464 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.7055, allocations: 7.938 kB / 0.7464 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.7056, allocations: 3.984 kB / 0.7464 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3358/1.041, allocations: 2.151 MB / 0.7485 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/1.041, allocations: 0 / 0.7485 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001347/1.043, allocations: 169.9 kB / 0.7487 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006546/1.043, allocations: 71.88 kB / 0.7487 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001285/1.044, allocations: 29.86 kB / 0.7488 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002704/1.046, allocations: 1.65 MB / 0.7504 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.902e-06/1.046, allocations: 3.578 kB / 0.7504 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004548/1.051, allocations: 1.118 MB / 0.7515 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000783/1.052, allocations: 278.2 kB / 0.7517 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001966/1.052, allocations: 20.22 kB / 0.7518 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0013/1.053, allocations: 90.38 kB / 0.7518 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003062/1.054, allocations: 79.38 kB / 0.7519 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001366/1.054, allocations: 38.22 kB / 0.752 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001094/1.055, allocations: 466.9 kB / 0.7524 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.81e-07/1.055, allocations: 0.5625 kB / 0.7524 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001859/1.057, allocations: 346.7 kB / 0.7527 GB, free: 168.5 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.002144/1.059, allocations: 0.6012 MB / 0.7533 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005034/1.064, allocations: 1.16 MB / 0.7545 GB, free: 168 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/1.064, allocations: 1.062 kB / 0.7545 GB, free: 168 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002105/1.066, allocations: 0.5819 MB / 0.755 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002172/1.068, allocations: 318.2 kB / 0.7553 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004738/1.073, allocations: 1.801 MB / 0.7571 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008823/1.074, allocations: 1.05 MB / 0.7581 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001695/1.076, allocations: 283.6 kB / 0.7584 GB, free: 166 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004309/1.076, allocations: 109 kB / 0.7585 GB, free: 166 MB / 0.5762 GB Notification: Performance of SimCode: time 6.62e-07/1.076, allocations: 0 / 0.7585 GB, free: 166 MB / 0.5762 GB Notification: Performance of Templates: time 0.04373/1.12, allocations: 15.89 MB / 0.774 GB, free: 159.9 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)