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.00106/0.00106, allocations: 93.58 kB / 16.67 MB, free: 6.254 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.0009935/0.0009937, allocations: 178.4 kB / 17.57 MB, free: 5.891 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: 223.3 MB / 241.6 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7259/0.7259, allocations: 115.5 MB / 408.2 MB, free: 7.188 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003385/0.0003386, allocations: 8 kB / 496.5 MB, free: 15.7 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4027/0.4031, allocations: 77.52 MB / 0.5606 GB, free: 35.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.00533/0.4084, allocations: 4.715 MB / 0.5652 GB, free: 32.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1627/0.5712, allocations: 146.8 MB / 0.7085 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001074/0.5723, allocations: 19.88 kB / 0.7085 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006311/0.5729, allocations: 150.8 kB / 0.7087 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001964/0.5749, allocations: 496.2 kB / 0.7092 GB, free: 10.77 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001967/0.5769, allocations: 0.7358 MB / 0.7099 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001793/0.5787, allocations: 1.35 MB / 0.7112 GB, free: 8.684 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001002/0.5797, allocations: 0.633 MB / 0.7118 GB, free: 8.023 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007199/0.5804, allocations: 378.2 kB / 0.7122 GB, free: 7.652 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005636/0.581, allocations: 417.7 kB / 0.7126 GB, free: 7.242 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.099e-05/0.5811, allocations: 24 kB / 0.7126 GB, free: 7.219 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009154/0.582, allocations: 375.6 kB / 0.713 GB, free: 6.852 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002006/0.5822, allocations: 199 kB / 0.7131 GB, free: 6.656 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005106/0.5827, allocations: 0.4909 MB / 0.7136 GB, free: 6.156 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001451/0.5842, allocations: 1.262 MB / 0.7149 GB, free: 4.891 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.5842, allocations: 4 kB / 0.7149 GB, free: 4.887 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.235e-06/0.5842, allocations: 0 / 0.7149 GB, free: 4.887 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.451e-05/0.5843, allocations: 4 kB / 0.7149 GB, free: 4.883 MB / 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.002455/0.5867, allocations: 1.27 MB / 0.7161 GB, free: 3.566 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.5868, allocations: 16.03 kB / 0.7161 GB, free: 3.551 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00172/0.5885, allocations: 319.1 kB / 0.7164 GB, free: 3.238 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001193/0.5897, allocations: 0.7577 MB / 0.7172 GB, free: 2.434 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.702e-05/0.5898, allocations: 74 kB / 0.7172 GB, free: 2.363 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001468/0.5899, allocations: 88 kB / 0.7173 GB, free: 2.277 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002123/0.5921, allocations: 1.089 MB / 0.7184 GB, free: 1.148 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.5921, allocations: 0 / 0.7184 GB, free: 1.148 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-05/0.5922, allocations: 40 kB / 0.7184 GB, free: 1.109 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.512e-05/0.5922, allocations: 24 kB / 0.7184 GB, free: 1.086 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002413/0.5947, allocations: 1.276 MB / 0.7197 GB, free: 15.81 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.005233/0.5999, allocations: 3.019 MB / 0.7226 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002739/0.6027, allocations: 1.032 MB / 0.7236 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008319/0.6035, allocations: 370.6 kB / 0.724 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.153e-05/0.6036, allocations: 36.59 kB / 0.724 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001173/0.6048, allocations: 0.5607 MB / 0.7246 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=84): time 2.845e-06/0.6048, allocations: 0 / 0.7246 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of matching and sorting (n=84): time 0.004071/0.6089, allocations: 1.403 MB / 0.7259 GB, free: 9.199 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.609, allocations: 188.9 kB / 0.7261 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008856/0.6099, allocations: 0.641 MB / 0.7268 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001022/0.61, allocations: 45.7 kB / 0.7268 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003539/0.6104, allocations: 424.2 kB / 0.7272 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002354/0.6106, allocations: 268.1 kB / 0.7275 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.6108, allocations: 73.67 kB / 0.7275 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.6109, allocations: 390.8 kB / 0.7279 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007888/0.6117, allocations: 329.8 kB / 0.7282 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008606/0.6126, allocations: 431 kB / 0.7286 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001604/0.6142, allocations: 0.7179 MB / 0.7293 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.6142, allocations: 4 kB / 0.7293 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002595/0.6168, allocations: 0.9737 MB / 0.7303 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/0.6169, allocations: 4 kB / 0.7303 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.6169, allocations: 0 / 0.7303 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006252/0.6175, allocations: 88.86 kB / 0.7304 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008646/0.6184, allocations: 187.7 kB / 0.7306 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002103/0.6205, allocations: 1.536 MB / 0.7321 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/0.6216, allocations: 131.2 kB / 0.7322 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.911e-05/0.6217, allocations: 39.97 kB / 0.7322 GB, free: 2.52 MB / 0.5606 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.0006113/0.6223, allocations: 280.2 kB / 0.7325 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001713/0.6225, allocations: 82.97 kB / 0.7326 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002963/0.6255, allocations: 1.214 MB / 0.7337 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/0.6255, allocations: 8 kB / 0.7338 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.6255, allocations: 0 / 0.7338 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.6255, allocations: 3.984 kB / 0.7338 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003979/0.6295, allocations: 2.156 MB / 0.7359 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.6296, allocations: 0 / 0.7359 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007732/0.6303, allocations: 179.8 kB / 0.736 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005265/0.6309, allocations: 84.77 kB / 0.7361 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-05/0.631, allocations: 27.98 kB / 0.7361 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001861/0.6328, allocations: 1.556 MB / 0.7377 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.6328, allocations: 0 / 0.7377 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002656/0.6355, allocations: 1.125 MB / 0.7388 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004812/0.636, allocations: 291.6 kB / 0.739 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/0.6361, allocations: 20 kB / 0.7391 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008641/0.637, allocations: 110 kB / 0.7392 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000173/0.6372, allocations: 76.83 kB / 0.7392 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.16e-05/0.6373, allocations: 35.98 kB / 0.7393 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000626/0.6379, allocations: 471 kB / 0.7397 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6379, allocations: 0 / 0.7397 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001025/0.639, allocations: 339.2 kB / 0.74 GB, free: 10.24 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.001429/0.6404, allocations: 0.6138 MB / 0.7406 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002354/0.6428, allocations: 0.9562 MB / 0.7416 GB, free: 8.871 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.6428, allocations: 0 / 0.7416 GB, free: 8.871 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001246/0.644, allocations: 0.586 MB / 0.7421 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001541/0.6456, allocations: 285.3 kB / 0.7424 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003926/0.6495, allocations: 2.315 MB / 0.7447 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006579/0.6502, allocations: 1.055 MB / 0.7457 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004541/0.6507, allocations: 119.4 kB / 0.7458 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of SimCode: time 1.122e-06/0.6507, allocations: 0 / 0.7458 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of Templates: time 0.3157/0.9665, allocations: 19.58 MB / 0.7649 GB, free: 168.2 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)