Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009614/0.0009614, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008072/0.008072, allocations: 171.2 kB / 16.26 MB, free: 6.613 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.499/1.499, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.785/0.785, allocations: 132.4 MB / 423.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003525/0.0003525, allocations: 12 kB / 0.504 GB, free: 3.91 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4491/0.4495, allocations: 81.57 MB / 0.5837 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.00531/0.4549, allocations: 3.796 MB / 0.5874 GB, free: 1.305 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1934/0.6483, allocations: 146.6 MB / 0.7306 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009574/0.6493, allocations: 19.88 kB / 0.7306 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006352/0.65, allocations: 131 kB / 0.7307 GB, free: 9.355 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001585/0.6516, allocations: 409.7 kB / 0.7311 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001904/0.6535, allocations: 0.7099 MB / 0.7318 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00146/0.655, allocations: 1.113 MB / 0.7329 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009899/0.656, allocations: 0.6503 MB / 0.7335 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005498/0.6565, allocations: 318.3 kB / 0.7338 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005672/0.6571, allocations: 338 kB / 0.7341 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000126/0.6573, allocations: 24 kB / 0.7342 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00094/0.6582, allocations: 391.6 kB / 0.7345 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002117/0.6584, allocations: 175.1 kB / 0.7347 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004451/0.6589, allocations: 442.9 kB / 0.7351 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001929/0.6608, allocations: 1.44 MB / 0.7365 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.6608, allocations: 0 / 0.7365 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.355e-06/0.6608, allocations: 0 / 0.7365 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.267e-05/0.6609, allocations: 0 / 0.7365 GB, free: 3.367 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.002531/0.6634, allocations: 1.178 MB / 0.7377 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.6635, allocations: 8.031 kB / 0.7377 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00122/0.6647, allocations: 215.4 kB / 0.7379 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001097/0.6658, allocations: 0.7345 MB / 0.7386 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.15e-05/0.6659, allocations: 69.94 kB / 0.7387 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/0.666, allocations: 88 kB / 0.7388 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001885/0.6679, allocations: 0.9496 MB / 0.7397 GB, free: 16 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.41e-05/0.6679, allocations: 3.938 kB / 0.7397 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-05/0.668, allocations: 40 kB / 0.7397 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.545e-05/0.6681, allocations: 27.98 kB / 0.7398 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001911/0.67, allocations: 1.132 MB / 0.7409 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004273/0.6743, allocations: 2.586 MB / 0.7434 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001543/0.6758, allocations: 0.8293 MB / 0.7442 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005551/0.6764, allocations: 294.6 kB / 0.7445 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006917/0.6771, allocations: 474.2 kB / 0.7449 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008597/0.678, allocations: 439.2 kB / 0.7454 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=73): time 2.635e-06/0.678, allocations: 0 / 0.7454 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73): time 0.003121/0.6811, allocations: 1.108 MB / 0.7464 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.6812, allocations: 188.6 kB / 0.7466 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008489/0.6821, allocations: 0.6018 MB / 0.7472 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.509e-05/0.6822, allocations: 41.7 kB / 0.7472 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003345/0.6825, allocations: 408.1 kB / 0.7476 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000255/0.6828, allocations: 248.4 kB / 0.7479 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.6829, allocations: 65.67 kB / 0.7479 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001764/0.6831, allocations: 382.7 kB / 0.7483 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006039/0.6837, allocations: 245.8 kB / 0.7485 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006451/0.6844, allocations: 339.1 kB / 0.7489 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/0.6855, allocations: 0.576 MB / 0.7494 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.6856, allocations: 0 / 0.7494 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001945/0.6875, allocations: 0.7981 MB / 0.7502 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.6875, allocations: 8 kB / 0.7502 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.6876, allocations: 0 / 0.7502 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006163/0.6882, allocations: 88.8 kB / 0.7503 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006618/0.6889, allocations: 155.7 kB / 0.7504 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002064/0.6909, allocations: 1.519 MB / 0.7519 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006681/0.6916, allocations: 87.42 kB / 0.752 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.566e-05/0.6917, allocations: 35.92 kB / 0.752 GB, free: 2.859 MB / 0.5762 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 (84): * Single equations (assignments): 83 * 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.0004288/0.6921, allocations: 263.3 kB / 0.7523 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001513/0.6923, allocations: 83 kB / 0.7524 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002383/0.6947, allocations: 1.002 MB / 0.7533 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/0.6947, allocations: 8 kB / 0.7534 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.6947, allocations: 0 / 0.7534 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.6947, allocations: 3.984 kB / 0.7534 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00326/0.698, allocations: 1.911 MB / 0.7552 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.698, allocations: 3.938 kB / 0.7552 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005957/0.6986, allocations: 147.8 kB / 0.7554 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005278/0.6992, allocations: 84.77 kB / 0.7554 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.407e-05/0.6992, allocations: 20.03 kB / 0.7555 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001799/0.701, allocations: 1.548 MB / 0.757 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.701, allocations: 64 / 0.757 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001916/0.703, allocations: 0.9375 MB / 0.7579 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003466/0.7033, allocations: 271.7 kB / 0.7582 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.7034, allocations: 12 kB / 0.7582 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006132/0.7041, allocations: 75.88 kB / 0.7582 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.7042, allocations: 60.91 kB / 0.7583 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.395e-05/0.7043, allocations: 31.98 kB / 0.7583 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005766/0.7048, allocations: 439 kB / 0.7587 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7049, allocations: 0 / 0.7587 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008616/0.7057, allocations: 315.2 kB / 0.759 GB, free: 11.42 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: 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 (84): * Single equations (assignments): 81 * 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.001367/0.7071, allocations: 0.6146 MB / 0.7596 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001722/0.7088, allocations: 0.7804 MB / 0.7604 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.7088, allocations: 4.188 kB / 0.7604 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009305/0.7098, allocations: 0.4963 MB / 0.7609 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001273/0.7111, allocations: 259.1 kB / 0.7611 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004169/0.7152, allocations: 2.202 MB / 0.7633 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006092/0.7159, allocations: 1.024 MB / 0.7643 GB, free: 6.184 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008305/0.7167, allocations: 250.1 kB / 0.7645 GB, free: 5.938 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002681/0.717, allocations: 103.4 kB / 0.7646 GB, free: 5.836 MB / 0.5919 GB Notification: Performance of SimCode: time 6.51e-07/0.717, allocations: 0 / 0.7646 GB, free: 5.836 MB / 0.5919 GB Notification: Performance of Templates: time 0.02493/0.7419, allocations: 13.57 MB / 0.7779 GB, free: 8.465 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)