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.001095/0.001095, allocations: 103.6 kB / 16.4 MB, free: 6.492 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.00126/0.00126, allocations: 189.2 kB / 17.34 MB, free: 5.766 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.309/1.309, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7063/0.7063, allocations: 115.3 MB / 406.5 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 63.45 kB / 0.5577 GB, free: 32.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1392, allocations: 76.17 MB / 0.6321 GB, free: 4.418 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006293/0.1456, allocations: 5.167 MB / 0.6371 GB, free: 15.22 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4766/0.6222, allocations: 150.7 MB / 0.7842 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009031/0.6232, allocations: 20 kB / 0.7842 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000604/0.6238, allocations: 203.2 kB / 0.7844 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001532/0.6254, allocations: 0.5653 MB / 0.785 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001758/0.6271, allocations: 0.8467 MB / 0.7858 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001318/0.6285, allocations: 1.467 MB / 0.7873 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007917/0.6293, allocations: 0.6608 MB / 0.7879 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006238/0.6299, allocations: 0.5235 MB / 0.7884 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005614/0.6305, allocations: 0.5558 MB / 0.789 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001626/0.6306, allocations: 127 kB / 0.7891 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008463/0.6315, allocations: 0.4888 MB / 0.7895 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002237/0.6317, allocations: 315.7 kB / 0.7899 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004557/0.6322, allocations: 0.6149 MB / 0.7905 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001523/0.6337, allocations: 1.749 MB / 0.7922 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.6337, allocations: 6.562 kB / 0.7922 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6337, allocations: 0 / 0.7922 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.444e-05/0.6338, allocations: 0 / 0.7922 GB, free: 13.04 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.00235/0.6361, allocations: 1.509 MB / 0.7936 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.6362, allocations: 13.27 kB / 0.7937 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001663/0.6378, allocations: 308.3 kB / 0.7939 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/0.6389, allocations: 0.7787 MB / 0.7947 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.679e-05/0.639, allocations: 72.31 kB / 0.7948 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.6391, allocations: 100 kB / 0.7949 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001797/0.6409, allocations: 1.069 MB / 0.7959 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.6409, allocations: 6.438 kB / 0.7959 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-05/0.641, allocations: 43.94 kB / 0.796 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.786e-05/0.6411, allocations: 22.38 kB / 0.796 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002032/0.6431, allocations: 1.267 MB / 0.7972 GB, free: 11.63 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.004098/0.6472, allocations: 2.957 MB / 0.8001 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002536/0.6498, allocations: 1.024 MB / 0.8011 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000788/0.6506, allocations: 364.5 kB / 0.8015 GB, free: 10 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.313e-05/0.6507, allocations: 35.05 kB / 0.8015 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001188/0.6519, allocations: 0.5598 MB / 0.802 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=84): time 4.779e-06/0.6519, allocations: 3.984 kB / 0.802 GB, free: 9.773 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84): time 0.003915/0.6558, allocations: 1.387 MB / 0.8034 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.703e-05/0.6559, allocations: 192.3 kB / 0.8036 GB, free: 9.137 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007722/0.6567, allocations: 0.6361 MB / 0.8042 GB, free: 8.922 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.95e-05/0.6568, allocations: 41.48 kB / 0.8042 GB, free: 8.891 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004031/0.6572, allocations: 430.1 kB / 0.8046 GB, free: 8.645 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002757/0.6575, allocations: 275.6 kB / 0.8049 GB, free: 8.449 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002749/0.6578, allocations: 171 kB / 0.8051 GB, free: 8.402 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001944/0.658, allocations: 389.9 kB / 0.8054 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007621/0.6587, allocations: 325.1 kB / 0.8058 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008281/0.6596, allocations: 425.6 kB / 0.8062 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001472/0.661, allocations: 0.7099 MB / 0.8069 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.6611, allocations: 2.969 kB / 0.8069 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002342/0.6634, allocations: 0.9654 MB / 0.8078 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.6634, allocations: 4.906 kB / 0.8078 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.6635, allocations: 6.391 kB / 0.8078 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006005/0.6641, allocations: 78.78 kB / 0.8079 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007867/0.6649, allocations: 188.7 kB / 0.8081 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002173/0.667, allocations: 1.624 MB / 0.8097 GB, free: 5.992 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009641/0.668, allocations: 127.8 kB / 0.8098 GB, free: 5.926 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.523e-05/0.6681, allocations: 39.69 kB / 0.8098 GB, free: 5.918 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.0005505/0.6687, allocations: 279.8 kB / 0.8101 GB, free: 5.773 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001663/0.6688, allocations: 82 kB / 0.8102 GB, free: 5.73 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002785/0.6716, allocations: 1.2 MB / 0.8113 GB, free: 5.082 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/0.6717, allocations: 9.594 kB / 0.8113 GB, free: 5.082 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.6717, allocations: 0 / 0.8113 GB, free: 5.082 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/0.6717, allocations: 6.828 kB / 0.8113 GB, free: 5.078 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003796/0.6755, allocations: 2.135 MB / 0.8134 GB, free: 3.711 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.585e-06/0.6755, allocations: 4 kB / 0.8134 GB, free: 3.707 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007202/0.6762, allocations: 174.6 kB / 0.8136 GB, free: 3.664 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004206/0.6767, allocations: 78.14 kB / 0.8137 GB, free: 3.621 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.41e-05/0.6768, allocations: 30.11 kB / 0.8137 GB, free: 3.605 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001913/0.6787, allocations: 1.653 MB / 0.8153 GB, free: 1.992 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.6787, allocations: 0 / 0.8153 GB, free: 1.992 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00261/0.6813, allocations: 1.124 MB / 0.8164 GB, free: 1.379 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005649/0.6819, allocations: 279.1 kB / 0.8167 GB, free: 1.133 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001579/0.6821, allocations: 16.88 kB / 0.8167 GB, free: 1.121 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000825/0.6829, allocations: 89.28 kB / 0.8168 GB, free: 1.078 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001825/0.6831, allocations: 70.05 kB / 0.8169 GB, free: 1.043 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.459e-05/0.6832, allocations: 40.95 kB / 0.8169 GB, free: 1.027 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007333/0.6839, allocations: 469.9 kB / 0.8173 GB, free: 0.7578 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.355e-06/0.6839, allocations: 0 / 0.8173 GB, free: 0.7578 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001546/0.6855, allocations: 353.2 kB / 0.8177 GB, free: 0.6523 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.00152/0.687, allocations: 0.6052 MB / 0.8183 GB, free: 392 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002416/0.6894, allocations: 0.9461 MB / 0.8192 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.6895, allocations: 2.406 kB / 0.8192 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001198/0.6907, allocations: 0.585 MB / 0.8198 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/0.6921, allocations: 312.5 kB / 0.8201 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003488/0.6956, allocations: 1.777 MB / 0.8218 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006906/0.6963, allocations: 1.052 MB / 0.8228 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009184/0.6973, allocations: 277.1 kB / 0.8231 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000285/0.6976, allocations: 108.1 kB / 0.8232 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of SimCode: time 8.22e-07/0.6976, allocations: 6.562 kB / 0.8232 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of Templates: time 0.02906/0.7266, allocations: 16.06 MB / 0.8389 GB, free: 15.48 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)