Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/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.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001086/0.001092, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.00788/0.00788, allocations: 169.6 kB / 16.27 MB, free: 6.652 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.473/1.473, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7686/0.7686, allocations: 132.4 MB / 423.8 MB, free: 1.934 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003288/0.0003288, allocations: 12 kB / 0.504 GB, free: 3.883 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.497/0.4973, allocations: 81.58 MB / 0.5837 GB, free: 4.043 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.004387/0.5018, allocations: 3.796 MB / 0.5874 GB, free: 1.293 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1741/0.6758, allocations: 146.6 MB / 0.7305 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006554/0.6765, allocations: 15.88 kB / 0.7305 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004893/0.677, allocations: 134.9 kB / 0.7307 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001232/0.6783, allocations: 401.2 kB / 0.731 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001766/0.6801, allocations: 0.7029 MB / 0.7317 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001236/0.6813, allocations: 1.121 MB / 0.7328 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009813/0.6823, allocations: 0.6636 MB / 0.7335 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004984/0.6828, allocations: 314.3 kB / 0.7338 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004508/0.6833, allocations: 346 kB / 0.7341 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.009e-05/0.6833, allocations: 24 kB / 0.7341 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007828/0.6841, allocations: 363.6 kB / 0.7345 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001859/0.6843, allocations: 183.1 kB / 0.7347 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003602/0.6847, allocations: 438.9 kB / 0.7351 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001347/0.686, allocations: 1.436 MB / 0.7365 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.6861, allocations: 0 / 0.7365 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6861, allocations: 0 / 0.7365 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.6861, allocations: 0 / 0.7365 GB, free: 3.395 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: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.002071/0.6882, allocations: 1.178 MB / 0.7376 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.6882, allocations: 16.03 kB / 0.7376 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00165/0.6899, allocations: 303.2 kB / 0.7379 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009903/0.6909, allocations: 0.7344 MB / 0.7386 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.69e-05/0.6909, allocations: 77.98 kB / 0.7387 GB, free: 1 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.6911, allocations: 87.98 kB / 0.7388 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001826/0.6929, allocations: 1.011 MB / 0.7398 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.6929, allocations: 0 / 0.7398 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.26e-05/0.693, allocations: 40 kB / 0.7398 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.862e-05/0.6931, allocations: 24 kB / 0.7399 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00219/0.6952, allocations: 1.225 MB / 0.741 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004244/0.6995, allocations: 2.603 MB / 0.7436 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00241/0.7019, allocations: 0.9468 MB / 0.7445 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007589/0.7027, allocations: 338.6 kB / 0.7448 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.63e-05/0.7028, allocations: 32.69 kB / 0.7449 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001008/0.7038, allocations: 495.1 kB / 0.7453 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=75): time 3.647e-06/0.7038, allocations: 0 / 0.7453 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of matching and sorting (n=75): time 0.003645/0.7075, allocations: 1.25 MB / 0.7466 GB, free: 8.789 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001429/0.7076, allocations: 196.5 kB / 0.7468 GB, free: 8.551 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009248/0.7086, allocations: 0.5978 MB / 0.7473 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001078/0.7087, allocations: 41.7 kB / 0.7474 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003847/0.7091, allocations: 404.1 kB / 0.7478 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002548/0.7093, allocations: 244.4 kB / 0.748 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.7095, allocations: 69.62 kB / 0.7481 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002/0.7097, allocations: 386.7 kB / 0.7484 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007542/0.7104, allocations: 293.8 kB / 0.7487 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007767/0.7112, allocations: 387.1 kB / 0.7491 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001464/0.7127, allocations: 0.6697 MB / 0.7497 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.309e-06/0.7127, allocations: 0 / 0.7497 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002402/0.7151, allocations: 0.8918 MB / 0.7506 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.7152, allocations: 4 kB / 0.7506 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.7152, allocations: 0 / 0.7506 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006079/0.7158, allocations: 88.8 kB / 0.7507 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007473/0.7166, allocations: 175.8 kB / 0.7509 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002035/0.7186, allocations: 1.516 MB / 0.7523 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008578/0.7195, allocations: 103.4 kB / 0.7524 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.062e-05/0.7196, allocations: 39.97 kB / 0.7525 GB, free: 2.477 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 (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.00049/0.7201, allocations: 258.3 kB / 0.7527 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/0.7202, allocations: 79 kB / 0.7528 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002677/0.7229, allocations: 1.127 MB / 0.7539 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/0.7229, allocations: 8 kB / 0.7539 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.7229, allocations: 0 / 0.7539 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.7229, allocations: 3.984 kB / 0.7539 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003678/0.7266, allocations: 2.043 MB / 0.7559 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.7266, allocations: 3.938 kB / 0.7559 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007228/0.7274, allocations: 179.8 kB / 0.7561 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004994/0.7279, allocations: 76.78 kB / 0.7562 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.258e-05/0.7279, allocations: 27.98 kB / 0.7562 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001743/0.7297, allocations: 1.54 MB / 0.7577 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.7297, allocations: 0 / 0.7577 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002394/0.7321, allocations: 1.031 MB / 0.7587 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004507/0.7326, allocations: 279.7 kB / 0.759 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/0.7327, allocations: 19.94 kB / 0.759 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007335/0.7334, allocations: 92.86 kB / 0.7591 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/0.7336, allocations: 60.91 kB / 0.7591 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.95e-05/0.7336, allocations: 31.98 kB / 0.7592 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005489/0.7342, allocations: 435 kB / 0.7596 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7342, allocations: 0 / 0.7596 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001048/0.7353, allocations: 307.2 kB / 0.7599 GB, free: 10.65 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 (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.001558/0.7368, allocations: 0.6032 MB / 0.7605 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00216/0.739, allocations: 0.8821 MB / 0.7613 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.739, allocations: 0 / 0.7613 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001101/0.7401, allocations: 0.5431 MB / 0.7618 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001299/0.7414, allocations: 253.3 kB / 0.7621 GB, free: 8.57 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004757/0.7462, allocations: 2.277 MB / 0.7643 GB, free: 6.262 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006988/0.7469, allocations: 1.027 MB / 0.7653 GB, free: 5.203 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009473/0.7479, allocations: 270.2 kB / 0.7656 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002596/0.7482, allocations: 103.4 kB / 0.7657 GB, free: 4.832 MB / 0.5919 GB Notification: Performance of SimCode: time 1.203e-06/0.7482, allocations: 0 / 0.7657 GB, free: 4.832 MB / 0.5919 GB Notification: Performance of Templates: time 0.02304/0.7712, allocations: 13.77 MB / 0.7791 GB, free: 7.258 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)