Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 182.6 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7318/0.7318, allocations: 133.4 MB / 150.1 MB, free: 11.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 222.9 MB / 404.7 MB, free: 6.102 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009632/0.0009632, allocations: 103.4 kB / 485.9 MB, free: 7.25 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001002/0.001002, allocations: 56.11 kB / 0.5636 GB, free: 69.93 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1371, allocations: 80.43 MB / 0.6421 GB, free: 5.441 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.005593/0.1427, allocations: 4.2 MB / 0.6462 GB, free: 1.219 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.4274/0.5702, allocations: 148.2 MB / 0.791 GB, free: 8.707 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008423/0.5711, allocations: 11.94 kB / 0.791 GB, free: 8.695 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.00054/0.5717, allocations: 141.5 kB / 0.7911 GB, free: 8.559 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001317/0.573, allocations: 393.1 kB / 0.7915 GB, free: 8.188 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001875/0.5749, allocations: 0.7039 MB / 0.7922 GB, free: 7.516 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001183/0.5761, allocations: 1.13 MB / 0.7933 GB, free: 6.383 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009718/0.577, allocations: 0.6823 MB / 0.7939 GB, free: 5.68 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005616/0.5776, allocations: 410.3 kB / 0.7943 GB, free: 5.277 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005528/0.5782, allocations: 461.8 kB / 0.7948 GB, free: 4.824 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001222/0.5783, allocations: 60 kB / 0.7948 GB, free: 4.766 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008653/0.5792, allocations: 405.9 kB / 0.7952 GB, free: 4.371 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002773/0.5795, allocations: 251 kB / 0.7955 GB, free: 4.125 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0004282/0.5799, allocations: 489.1 kB / 0.7959 GB, free: 3.645 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001469/0.5814, allocations: 1.491 MB / 0.7974 GB, free: 2.148 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.5814, allocations: 0 / 0.7974 GB, free: 2.148 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5814, allocations: 0 / 0.7974 GB, free: 2.148 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.321e-05/0.5814, allocations: 4 kB / 0.7974 GB, free: 2.145 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.00222/0.5837, allocations: 1.389 MB / 0.7987 GB, free: 0.7031 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.5837, allocations: 8.031 kB / 0.7987 GB, free: 0.6953 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001633/0.5853, allocations: 307.2 kB / 0.799 GB, free: 404 kB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/0.5864, allocations: 0.7271 MB / 0.7997 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.832e-05/0.5864, allocations: 66 kB / 0.7998 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.5865, allocations: 95.94 kB / 0.7999 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001742/0.5883, allocations: 1.007 MB / 0.8009 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.5883, allocations: 0 / 0.8009 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.415e-05/0.5884, allocations: 40 kB / 0.8009 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.822e-05/0.5884, allocations: 20 kB / 0.8009 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002216/0.5907, allocations: 1.221 MB / 0.8021 GB, free: 13.13 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003987/0.5947, allocations: 2.588 MB / 0.8047 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002433/0.5971, allocations: 0.9355 MB / 0.8056 GB, free: 9.523 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000726/0.5978, allocations: 334.6 kB / 0.8059 GB, free: 9.195 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 7.613e-05/0.5979, allocations: 36.67 kB / 0.8059 GB, free: 9.16 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001039/0.599, allocations: 487.2 kB / 0.8064 GB, free: 8.664 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=75): time 2.053e-06/0.599, allocations: 0 / 0.8064 GB, free: 8.664 MB / 0.5417 GB Notification: Performance of matching and sorting (n=75): time 0.003507/0.6025, allocations: 1.231 MB / 0.8076 GB, free: 7.406 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.714e-05/0.6026, allocations: 192.6 kB / 0.8078 GB, free: 7.176 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006473/0.6033, allocations: 0.5978 MB / 0.8084 GB, free: 6.574 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.592e-05/0.6033, allocations: 45.64 kB / 0.8084 GB, free: 6.523 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002561/0.6036, allocations: 404.2 kB / 0.8088 GB, free: 6.121 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.000177/0.6038, allocations: 252.3 kB / 0.809 GB, free: 5.871 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002315/0.604, allocations: 150.5 kB / 0.8092 GB, free: 5.719 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.6042, allocations: 390.7 kB / 0.8095 GB, free: 5.328 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007128/0.6049, allocations: 289.8 kB / 0.8098 GB, free: 5.043 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007821/0.6057, allocations: 379.1 kB / 0.8102 GB, free: 4.656 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001456/0.6072, allocations: 0.6541 MB / 0.8108 GB, free: 3.996 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.6072, allocations: 4 kB / 0.8108 GB, free: 3.992 MB / 0.5417 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002251/0.6094, allocations: 0.8801 MB / 0.8117 GB, free: 3.102 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.6095, allocations: 8 kB / 0.8117 GB, free: 3.094 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.6095, allocations: 3.938 kB / 0.8117 GB, free: 3.09 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005961/0.6101, allocations: 80.88 kB / 0.8118 GB, free: 3.008 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007322/0.6108, allocations: 175.7 kB / 0.8119 GB, free: 2.836 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0019/0.6127, allocations: 1.52 MB / 0.8134 GB, free: 1.184 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007113/0.6135, allocations: 103.4 kB / 0.8135 GB, free: 1.082 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.759e-05/0.6135, allocations: 32.86 kB / 0.8136 GB, free: 1.051 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 85 * 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.0003421/0.6139, allocations: 259 kB / 0.8138 GB, free: 0.7891 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/0.614, allocations: 83 kB / 0.8139 GB, free: 0.707 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002733/0.6168, allocations: 1.108 MB / 0.815 GB, free: 15.59 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.6168, allocations: 8 kB / 0.815 GB, free: 15.58 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.6168, allocations: 0 / 0.815 GB, free: 15.58 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.6168, allocations: 7.969 kB / 0.815 GB, free: 15.57 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003611/0.6204, allocations: 2.035 MB / 0.817 GB, free: 13.47 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.6204, allocations: 3.938 kB / 0.817 GB, free: 13.47 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007013/0.6211, allocations: 163.8 kB / 0.8171 GB, free: 13.31 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000515/0.6217, allocations: 88.7 kB / 0.8172 GB, free: 13.22 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.594e-05/0.6217, allocations: 23.98 kB / 0.8172 GB, free: 13.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001684/0.6234, allocations: 1.536 MB / 0.8187 GB, free: 11.52 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.6234, allocations: 4.031 kB / 0.8187 GB, free: 11.52 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003433/0.6269, allocations: 2.084 MB / 0.8208 GB, free: 9.371 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000349/0.6272, allocations: 263.8 kB / 0.821 GB, free: 9.094 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.6274, allocations: 23.94 kB / 0.8211 GB, free: 9.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007002/0.6281, allocations: 75.86 kB / 0.8211 GB, free: 8.996 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.6282, allocations: 60.91 kB / 0.8212 GB, free: 8.938 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.578e-05/0.6283, allocations: 31.98 kB / 0.8212 GB, free: 8.906 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004697/0.6288, allocations: 439 kB / 0.8216 GB, free: 8.484 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.61e-07/0.6288, allocations: 0 / 0.8216 GB, free: 8.484 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000869/0.6296, allocations: 311.2 kB / 0.8219 GB, free: 8.18 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001269/0.6309, allocations: 0.5955 MB / 0.8225 GB, free: 7.762 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002017/0.6329, allocations: 0.8747 MB / 0.8234 GB, free: 6.875 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.633, allocations: 0 / 0.8234 GB, free: 6.875 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001089/0.6341, allocations: 0.5354 MB / 0.8239 GB, free: 6.328 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/0.6352, allocations: 261.6 kB / 0.8241 GB, free: 6.074 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004397/0.6396, allocations: 2.66 MB / 0.8267 GB, free: 3.367 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005805/0.6402, allocations: 1.051 MB / 0.8278 GB, free: 2.289 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008605/0.6411, allocations: 270.2 kB / 0.828 GB, free: 2.02 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002696/0.6414, allocations: 103.4 kB / 0.8281 GB, free: 1.922 MB / 0.5573 GB Notification: Performance of SimCode: time 4.11e-07/0.6414, allocations: 0 / 0.8281 GB, free: 1.922 MB / 0.5573 GB Notification: Performance of Templates: time 0.02196/0.6633, allocations: 14.21 MB / 0.842 GB, free: 3.824 MB / 0.573 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)