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.001514/0.001514, allocations: 101 kB / 16.4 MB, free: 6.461 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.001828/0.001828, allocations: 196 kB / 17.34 MB, free: 5.715 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7991/0.7991, allocations: 122.9 MB / 414.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 59.8 kB / 0.5685 GB, free: 28.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1705, allocations: 77.95 MB / 0.6446 GB, free: 9.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.00658/0.1771, allocations: 5.148 MB / 0.6496 GB, free: 3.836 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5258/0.703, allocations: 150.7 MB / 0.7968 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001589/0.7046, allocations: 16.16 kB / 0.7968 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009808/0.7056, allocations: 202.4 kB / 0.797 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002349/0.7081, allocations: 0.5684 MB / 0.7975 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00227/0.7104, allocations: 0.8525 MB / 0.7983 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002071/0.7124, allocations: 1.46 MB / 0.7998 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001254/0.7137, allocations: 0.6673 MB / 0.8004 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009853/0.7147, allocations: 0.5133 MB / 0.8009 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008712/0.7156, allocations: 0.5529 MB / 0.8015 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002216/0.7158, allocations: 132.4 kB / 0.8016 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001302/0.7171, allocations: 498.2 kB / 0.8021 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003109/0.7175, allocations: 325.5 kB / 0.8024 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006223/0.7181, allocations: 0.6078 MB / 0.803 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002343/0.7204, allocations: 1.757 MB / 0.8047 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.7205, allocations: 0 / 0.8047 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.833e-06/0.7205, allocations: 3.312 kB / 0.8047 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.86e-05/0.7205, allocations: 2.578 kB / 0.8047 GB, free: 11.69 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.002891/0.7234, allocations: 1.548 MB / 0.8062 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.7235, allocations: 12.84 kB / 0.8062 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001687/0.7251, allocations: 311.4 kB / 0.8065 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001225/0.7264, allocations: 0.7894 MB / 0.8073 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.01e-05/0.7265, allocations: 74.72 kB / 0.8074 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.7266, allocations: 91.38 kB / 0.8074 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002138/0.7287, allocations: 1.074 MB / 0.8085 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.73e-05/0.7288, allocations: 0 / 0.8085 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.7289, allocations: 41.19 kB / 0.8085 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.308e-05/0.7289, allocations: 23.47 kB / 0.8086 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002383/0.7313, allocations: 1.271 MB / 0.8098 GB, free: 9.766 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.004883/0.7362, allocations: 2.968 MB / 0.8127 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002532/0.7387, allocations: 1.027 MB / 0.8137 GB, free: 7.789 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007426/0.7395, allocations: 371.2 kB / 0.8141 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.379e-05/0.7396, allocations: 28.86 kB / 0.8141 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00113/0.7407, allocations: 0.5604 MB / 0.8146 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=84): time 2.394e-06/0.7407, allocations: 2.312 kB / 0.8146 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84): time 0.00394/0.7447, allocations: 1.391 MB / 0.816 GB, free: 6.691 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000119/0.7448, allocations: 190.9 kB / 0.8162 GB, free: 6.469 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008685/0.7457, allocations: 0.6406 MB / 0.8168 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.95e-05/0.7458, allocations: 45.17 kB / 0.8168 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003644/0.7462, allocations: 431.4 kB / 0.8172 GB, free: 5.668 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002227/0.7464, allocations: 288.1 kB / 0.8175 GB, free: 5.426 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002466/0.7467, allocations: 169.1 kB / 0.8177 GB, free: 5.324 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000196/0.7469, allocations: 390.9 kB / 0.8181 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007382/0.7476, allocations: 328 kB / 0.8184 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009058/0.7485, allocations: 419.8 kB / 0.8188 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001625/0.7502, allocations: 0.7124 MB / 0.8195 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.7502, allocations: 0 / 0.8195 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002448/0.7526, allocations: 0.9775 MB / 0.8204 GB, free: 3.707 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.7527, allocations: 4.875 kB / 0.8204 GB, free: 3.707 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.7527, allocations: 4.531 kB / 0.8204 GB, free: 3.707 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005726/0.7533, allocations: 85.92 kB / 0.8205 GB, free: 3.664 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007818/0.754, allocations: 187.7 kB / 0.8207 GB, free: 3.613 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00216/0.7562, allocations: 1.623 MB / 0.8223 GB, free: 2.016 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/0.7572, allocations: 117.6 kB / 0.8224 GB, free: 1.945 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.117e-05/0.7573, allocations: 44.91 kB / 0.8224 GB, free: 1.926 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.0005957/0.7579, allocations: 266.9 kB / 0.8227 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001855/0.7581, allocations: 97.73 kB / 0.8228 GB, free: 1.664 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002853/0.761, allocations: 1.201 MB / 0.824 GB, free: 1.004 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.761, allocations: 9.531 kB / 0.824 GB, free: 1.004 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.761, allocations: 3.062 kB / 0.824 GB, free: 1.004 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.374e-05/0.761, allocations: 7.969 kB / 0.824 GB, free: 0.9961 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003917/0.765, allocations: 2.15 MB / 0.8261 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.765, allocations: 0 / 0.8261 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007032/0.7657, allocations: 166.4 kB / 0.8262 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004197/0.7661, allocations: 78.72 kB / 0.8263 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.021e-05/0.7662, allocations: 27.75 kB / 0.8263 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001896/0.7681, allocations: 1.661 MB / 0.828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.7681, allocations: 0 / 0.828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00259/0.7707, allocations: 1.121 MB / 0.829 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004403/0.7712, allocations: 285.8 kB / 0.8293 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001319/0.7713, allocations: 21.23 kB / 0.8293 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007557/0.7721, allocations: 85.72 kB / 0.8294 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001562/0.7723, allocations: 74.11 kB / 0.8295 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.832e-05/0.7723, allocations: 42.5 kB / 0.8295 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005868/0.7729, allocations: 469.9 kB / 0.83 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7729, allocations: 0 / 0.83 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009692/0.7739, allocations: 345.8 kB / 0.8303 GB, free: 12.6 MB / 0.6075 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.001328/0.7753, allocations: 0.6162 MB / 0.8309 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002171/0.7774, allocations: 0.9514 MB / 0.8318 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.7775, allocations: 2.094 kB / 0.8318 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001169/0.7786, allocations: 0.5835 MB / 0.8324 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001313/0.78, allocations: 310.2 kB / 0.8327 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003426/0.7834, allocations: 1.817 MB / 0.8345 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006716/0.7841, allocations: 1.049 MB / 0.8355 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001008/0.7851, allocations: 277.2 kB / 0.8358 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003029/0.7854, allocations: 115.4 kB / 0.8359 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of SimCode: time 8.31e-07/0.7854, allocations: 0 / 0.8359 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of Templates: time 0.02699/0.8124, allocations: 16.04 MB / 0.8515 GB, free: 9.246 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)