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.001319/0.001319, allocations: 117 kB / 17.09 MB, free: 5.938 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.001318/0.001318, allocations: 198.9 kB / 18.02 MB, free: 5.023 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.255/1.255, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6884/0.6884, allocations: 115.3 MB / 407.2 MB, free: 6.203 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 66 kB / 0.5583 GB, free: 32.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1253, allocations: 76.19 MB / 0.6327 GB, free: 4.43 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006602/0.1319, allocations: 5.139 MB / 0.6377 GB, free: 15.26 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4381/0.5701, allocations: 150.7 MB / 0.7849 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007967/0.5709, allocations: 20.09 kB / 0.7849 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006704/0.5716, allocations: 208.3 kB / 0.7851 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001773/0.5734, allocations: 0.5658 MB / 0.7857 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001769/0.5752, allocations: 0.859 MB / 0.7865 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00135/0.5766, allocations: 1.464 MB / 0.7879 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008029/0.5774, allocations: 0.6566 MB / 0.7886 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005964/0.578, allocations: 0.5249 MB / 0.7891 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005464/0.5786, allocations: 0.5512 MB / 0.7896 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001613/0.5787, allocations: 128.8 kB / 0.7897 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008459/0.5796, allocations: 0.4908 MB / 0.7902 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002402/0.5798, allocations: 320.5 kB / 0.7905 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004744/0.5803, allocations: 0.6058 MB / 0.7911 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001594/0.5819, allocations: 1.75 MB / 0.7928 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.253e-05/0.5819, allocations: 3.938 kB / 0.7928 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5819, allocations: 4 kB / 0.7928 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.875e-05/0.582, allocations: 0 / 0.7928 GB, free: 13.06 MB / 0.5919 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.00237/0.5843, allocations: 1.514 MB / 0.7943 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.5844, allocations: 10.72 kB / 0.7943 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001566/0.586, allocations: 302.5 kB / 0.7946 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/0.587, allocations: 0.7868 MB / 0.7954 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.634e-05/0.587, allocations: 76.7 kB / 0.7954 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.5872, allocations: 95.03 kB / 0.7955 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001731/0.5889, allocations: 1.069 MB / 0.7966 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.5889, allocations: 2.25 kB / 0.7966 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.637e-05/0.589, allocations: 41.91 kB / 0.7966 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.481e-05/0.589, allocations: 23.09 kB / 0.7966 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002027/0.5911, allocations: 1.269 MB / 0.7979 GB, free: 11.66 MB / 0.5919 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.004081/0.5952, allocations: 2.967 MB / 0.8008 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002343/0.5975, allocations: 1.026 MB / 0.8018 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007156/0.5983, allocations: 361.2 kB / 0.8021 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.579e-05/0.5983, allocations: 33 kB / 0.8022 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00101/0.5993, allocations: 0.5593 MB / 0.8027 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=84): time 2.325e-06/0.5994, allocations: 0 / 0.8027 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84): time 0.003606/0.603, allocations: 1.385 MB / 0.8041 GB, free: 9.391 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.6031, allocations: 194.8 kB / 0.8042 GB, free: 9.168 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007201/0.6038, allocations: 0.6389 MB / 0.8049 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.862e-05/0.6039, allocations: 45.33 kB / 0.8049 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002816/0.6042, allocations: 427.9 kB / 0.8053 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002022/0.6044, allocations: 273 kB / 0.8056 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002306/0.6046, allocations: 167.9 kB / 0.8057 GB, free: 8.434 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.6048, allocations: 389.2 kB / 0.8061 GB, free: 8.098 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007191/0.6055, allocations: 326.3 kB / 0.8064 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008064/0.6063, allocations: 423.8 kB / 0.8068 GB, free: 7.922 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001403/0.6077, allocations: 0.7103 MB / 0.8075 GB, free: 7.801 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.6078, allocations: 0 / 0.8075 GB, free: 7.801 MB / 0.5919 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002191/0.61, allocations: 0.9684 MB / 0.8085 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.61, allocations: 7.281 kB / 0.8085 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.61, allocations: 3.938 kB / 0.8085 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005459/0.6106, allocations: 88.83 kB / 0.8086 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007664/0.6113, allocations: 186.1 kB / 0.8087 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001923/0.6133, allocations: 1.627 MB / 0.8103 GB, free: 6.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008679/0.6141, allocations: 122.2 kB / 0.8104 GB, free: 5.957 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.664e-05/0.6142, allocations: 39.53 kB / 0.8105 GB, free: 5.949 MB / 0.5919 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.0004447/0.6147, allocations: 275.9 kB / 0.8107 GB, free: 5.785 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001565/0.6148, allocations: 83.09 kB / 0.8108 GB, free: 5.742 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002668/0.6175, allocations: 1.206 MB / 0.812 GB, free: 5.074 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/0.6175, allocations: 10.44 kB / 0.812 GB, free: 5.074 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.6175, allocations: 4 kB / 0.812 GB, free: 5.07 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.6176, allocations: 3.984 kB / 0.812 GB, free: 5.066 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003565/0.6211, allocations: 2.136 MB / 0.8141 GB, free: 3.699 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.6212, allocations: 0 / 0.8141 GB, free: 3.699 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007332/0.6219, allocations: 175.5 kB / 0.8143 GB, free: 3.656 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004526/0.6224, allocations: 70.16 kB / 0.8143 GB, free: 3.621 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.061e-05/0.6224, allocations: 30.08 kB / 0.8144 GB, free: 3.602 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001901/0.6243, allocations: 1.661 MB / 0.816 GB, free: 1.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.6244, allocations: 0 / 0.816 GB, free: 1.98 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002411/0.6268, allocations: 1.12 MB / 0.8171 GB, free: 1.371 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003678/0.6272, allocations: 275.3 kB / 0.8173 GB, free: 1.129 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/0.6273, allocations: 20.88 kB / 0.8174 GB, free: 1.113 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007724/0.6281, allocations: 92.5 kB / 0.8175 GB, free: 1.07 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/0.6282, allocations: 70.06 kB / 0.8175 GB, free: 1.035 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.938e-05/0.6283, allocations: 44.94 kB / 0.8176 GB, free: 1.016 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005344/0.6288, allocations: 465.7 kB / 0.818 GB, free: 0.75 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.51e-07/0.6289, allocations: 0 / 0.818 GB, free: 0.75 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008482/0.6297, allocations: 356.9 kB / 0.8183 GB, free: 0.6406 MB / 0.5919 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.001229/0.6309, allocations: 0.6073 MB / 0.8189 GB, free: 376 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002067/0.633, allocations: 0.9534 MB / 0.8199 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.633, allocations: 0 / 0.8199 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001091/0.6341, allocations: 0.5809 MB / 0.8204 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/0.6354, allocations: 297.8 kB / 0.8207 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002955/0.6383, allocations: 1.82 MB / 0.8225 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005467/0.6389, allocations: 1.048 MB / 0.8235 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003307/0.6392, allocations: 128.8 kB / 0.8236 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of SimCode: time 4.31e-07/0.6392, allocations: 0 / 0.8236 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of Templates: time 0.02314/0.6624, allocations: 19.83 MB / 0.843 GB, free: 11.77 MB / 0.6231 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)