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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003673/0.003674, allocations: 182 kB / 7.458 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7714/0.7714, allocations: 133.5 MB / 141.4 MB, free: 15.65 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.59/1.59, allocations: 221.4 MB / 395 MB, free: 10.15 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.001174/0.001174, allocations: 93.41 kB / 477.8 MB, free: 10.78 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 8.696e-06/8.716e-06, allocations: 0 / 0.5529 GB, free: 89.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.2189, allocations: 82.3 MB / 0.6332 GB, free: 14.09 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.209/4.428, allocations: 1.694 GB / 2.327 GB, free: 259.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/4.428, allocations: 90.39 kB / 2.327 GB, free: 259.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.1422/4.57, allocations: 65.93 MB / 2.391 GB, free: 206.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.917e-05/4.57, allocations: 20 kB / 2.391 GB, free: 206.6 MB / 0.6823 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.001995/4.572, allocations: 1.165 MB / 2.393 GB, free: 205.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/4.572, allocations: 8.031 kB / 2.393 GB, free: 205.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001609/4.574, allocations: 314.3 kB / 2.393 GB, free: 205 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008928/4.575, allocations: 0.6386 MB / 2.394 GB, free: 204.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.805e-05/4.575, allocations: 32 kB / 2.394 GB, free: 204.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.219e-05/4.575, allocations: 48 kB / 2.394 GB, free: 204.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001397/4.576, allocations: 1.062 MB / 2.395 GB, free: 203.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/4.578, allocations: 0.8044 MB / 2.395 GB, free: 202.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.572e-05/4.578, allocations: 0 / 2.395 GB, free: 202.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.96e-05/4.578, allocations: 8 kB / 2.395 GB, free: 202.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.331e-05/4.578, allocations: 20 kB / 2.395 GB, free: 202.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003784/4.581, allocations: 2.45 MB / 2.398 GB, free: 199.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001656/4.583, allocations: 0.8078 MB / 2.399 GB, free: 199 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003224/4.584, allocations: 258.8 kB / 2.399 GB, free: 198.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.681e-05/4.584, allocations: 32.67 kB / 2.399 GB, free: 198.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000481/4.584, allocations: 402 kB / 2.399 GB, free: 198.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=75): time 2.535e-06/4.584, allocations: 0 / 2.399 GB, free: 198.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=75): time 0.001504/4.586, allocations: 0.6638 MB / 2.4 GB, free: 197.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.305e-05/4.586, allocations: 248 kB / 2.4 GB, free: 197.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005593/4.586, allocations: 0.4905 MB / 2.401 GB, free: 196.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.426e-05/4.586, allocations: 25.7 kB / 2.401 GB, free: 196.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/4.586, allocations: 336 kB / 2.401 GB, free: 196.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000128/4.587, allocations: 236.4 kB / 2.401 GB, free: 196.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.23e-05/4.587, allocations: 0 / 2.401 GB, free: 196.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.139e-05/4.587, allocations: 374.8 kB / 2.402 GB, free: 195.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002766/4.587, allocations: 201.3 kB / 2.402 GB, free: 195.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000335/4.587, allocations: 314.3 kB / 2.402 GB, free: 195.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000346/4.588, allocations: 247.1 kB / 2.402 GB, free: 195.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/4.588, allocations: 0 / 2.402 GB, free: 195.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001356/4.589, allocations: 0.6717 MB / 2.403 GB, free: 194.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/4.589, allocations: 7.938 kB / 2.403 GB, free: 194.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/4.589, allocations: 4 kB / 2.403 GB, free: 194.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005997/4.59, allocations: 84.84 kB / 2.403 GB, free: 194.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000717/4.59, allocations: 163.8 kB / 2.403 GB, free: 194.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001609/4.592, allocations: 1.457 MB / 2.405 GB, free: 192.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006832/4.593, allocations: 87.5 kB / 2.405 GB, free: 192.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.557e-05/4.593, allocations: 23.98 kB / 2.405 GB, free: 192.4 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001508/4.593, allocations: 125.6 kB / 2.405 GB, free: 192.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/4.593, allocations: 71.09 kB / 2.405 GB, free: 192.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001938/4.595, allocations: 0.9603 MB / 2.406 GB, free: 191.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/4.595, allocations: 11.91 kB / 2.406 GB, free: 191.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/4.595, allocations: 4 kB / 2.406 GB, free: 191.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/4.595, allocations: 3.984 kB / 2.406 GB, free: 191.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002487/4.598, allocations: 1.774 MB / 2.408 GB, free: 189.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/4.598, allocations: 0 / 2.408 GB, free: 189.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007192/4.598, allocations: 171.8 kB / 2.408 GB, free: 189.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005001/4.599, allocations: 88.77 kB / 2.408 GB, free: 189.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.203e-05/4.599, allocations: 11.98 kB / 2.408 GB, free: 189.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001416/4.6, allocations: 1.484 MB / 2.409 GB, free: 187.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/4.6, allocations: 0 / 2.409 GB, free: 187.6 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001379/4.602, allocations: 0.8441 MB / 2.41 GB, free: 186.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003209/4.602, allocations: 283.8 kB / 2.41 GB, free: 186.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/4.602, allocations: 0 / 2.41 GB, free: 186.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000725/4.603, allocations: 79.92 kB / 2.41 GB, free: 186.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/4.603, allocations: 56.61 kB / 2.411 GB, free: 186.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-05/4.603, allocations: 27.98 kB / 2.411 GB, free: 186.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0004269/4.604, allocations: 402.9 kB / 2.411 GB, free: 185.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001178/4.605, allocations: 362.8 kB / 2.411 GB, free: 185.5 MB / 0.6823 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001446/4.606, allocations: 1.043 MB / 2.412 GB, free: 184.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001108/4.607, allocations: 0.6741 MB / 2.413 GB, free: 183.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/4.607, allocations: 4.125 kB / 2.413 GB, free: 183.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006265/4.608, allocations: 468.5 kB / 2.413 GB, free: 183.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009882/4.609, allocations: 216.5 kB / 2.414 GB, free: 183.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003407/4.612, allocations: 1.431 MB / 2.415 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006958/4.613, allocations: 1.151 MB / 2.416 GB, free: 180.5 MB / 0.6823 GB Notification: Performance of SimCode: time 4.01e-07/4.613, allocations: 4 kB / 2.416 GB, free: 180.5 MB / 0.6823 GB Notification: Performance of Templates: time 0.02401/4.637, allocations: 17.36 MB / 2.433 GB, free: 163.2 MB / 0.6823 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)