Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9896/0.9896, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8531/0.8531, allocations: 154.9 MB / 415.1 MB, free: 212 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 480.4 MB, free: 6.547 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.264e-05/2.477e-05, allocations: 5.812 kB / 480.4 MB, free: 6.543 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.00705/0.007075, allocations: 5.153 MB / 485.5 MB, free: 1.422 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.1406/0.1477, allocations: 146.2 MB / 0.6169 GB, free: 15.01 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009076/0.1486, allocations: 23.81 kB / 0.617 GB, free: 14.99 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0005374/0.1492, allocations: 217.9 kB / 0.6172 GB, free: 14.77 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.001556/0.1507, allocations: 0.6249 MB / 0.6178 GB, free: 14.14 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.001682/0.1524, allocations: 0.966 MB / 0.6187 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.001416/0.1538, allocations: 1.674 MB / 0.6204 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006378/0.1545, allocations: 0.5145 MB / 0.6209 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009874/0.1554, allocations: 0.9199 MB / 0.6218 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004387/0.1559, allocations: 490.6 kB / 0.6222 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0001162/0.156, allocations: 136 kB / 0.6223 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000807/0.1568, allocations: 0.5227 MB / 0.6229 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0002303/0.157, allocations: 358.8 kB / 0.6232 GB, free: 8.523 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0004646/0.1575, allocations: 458.8 kB / 0.6236 GB, free: 8.074 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.00145/0.159, allocations: 1.444 MB / 0.625 GB, free: 6.625 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.159, allocations: 0 / 0.625 GB, free: 6.625 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.653e-06/0.159, allocations: 0 / 0.625 GB, free: 6.625 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.646e-06/0.159, allocations: 0 / 0.625 GB, free: 6.625 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.00172/0.1607, allocations: 1.601 MB / 0.6266 GB, free: 4.988 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.1607, allocations: 16.03 kB / 0.6266 GB, free: 4.973 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003366/0.1641, allocations: 1.229 MB / 0.6278 GB, free: 3.742 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009096/0.165, allocations: 0.6133 MB / 0.6284 GB, free: 3.098 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.684e-05/0.1651, allocations: 90.33 kB / 0.6285 GB, free: 3.008 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/0.1652, allocations: 112 kB / 0.6286 GB, free: 2.898 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001802/0.167, allocations: 1.541 MB / 0.6301 GB, free: 1.246 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/0.167, allocations: 0 / 0.6301 GB, free: 1.246 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.703e-05/0.1671, allocations: 44 kB / 0.6302 GB, free: 1.203 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001845/0.1673, allocations: 31.98 kB / 0.6302 GB, free: 1.172 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001082/0.1684, allocations: 1.021 MB / 0.6312 GB, free: 140 kB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003573/0.1719, allocations: 2.307 MB / 0.6334 GB, free: 13.79 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001339/0.1733, allocations: 0.893 MB / 0.6343 GB, free: 12.9 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003841/0.1737, allocations: 375.8 kB / 0.6347 GB, free: 12.53 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.109e-05/0.1737, allocations: 36.97 kB / 0.6347 GB, free: 12.49 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00069/0.1744, allocations: 0.7919 MB / 0.6355 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=109): time 3.487e-06/0.1744, allocations: 0 / 0.6355 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=109): time 0.001749/0.1762, allocations: 1.108 MB / 0.6366 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.426e-05/0.1763, allocations: 192.9 kB / 0.6368 GB, free: 10.31 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005713/0.1768, allocations: 0.5133 MB / 0.6373 GB, free: 9.781 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.429e-05/0.1769, allocations: 45.7 kB / 0.6373 GB, free: 9.73 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002069/0.1771, allocations: 390.5 kB / 0.6377 GB, free: 9.344 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002297/0.1773, allocations: 364.8 kB / 0.638 GB, free: 8.984 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002532/0.1776, allocations: 202.4 kB / 0.6382 GB, free: 8.781 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.1777, allocations: 394.6 kB / 0.6386 GB, free: 8.387 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003272/0.178, allocations: 280.8 kB / 0.6389 GB, free: 8.113 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004205/0.1785, allocations: 0.5044 MB / 0.6393 GB, free: 7.559 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006434/0.1791, allocations: 0.5874 MB / 0.6399 GB, free: 6.957 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.506e-05/0.1791, allocations: 4 kB / 0.6399 GB, free: 6.953 MB / 0.6042 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001104/0.1802, allocations: 0.7801 MB / 0.6407 GB, free: 6.16 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.1802, allocations: 7.984 kB / 0.6407 GB, free: 6.152 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.1803, allocations: 4 kB / 0.6407 GB, free: 6.148 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003993/0.1807, allocations: 120.7 kB / 0.6408 GB, free: 6.027 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008549/0.1815, allocations: 339.6 kB / 0.6411 GB, free: 5.695 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001176/0.1827, allocations: 1.311 MB / 0.6424 GB, free: 4.293 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007691/0.1835, allocations: 219.4 kB / 0.6426 GB, free: 4.074 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-05/0.1835, allocations: 43.88 kB / 0.6427 GB, free: 4.031 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.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 (124): * Single equations (assignments): 123 * 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.000383/0.1839, allocations: 174.4 kB / 0.6428 GB, free: 3.852 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001598/0.1841, allocations: 91.91 kB / 0.6429 GB, free: 3.762 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001484/0.1856, allocations: 1.1 MB / 0.644 GB, free: 2.645 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/0.1856, allocations: 16 kB / 0.644 GB, free: 2.629 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.1856, allocations: 7.984 kB / 0.644 GB, free: 2.621 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.1856, allocations: 3.984 kB / 0.644 GB, free: 2.617 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002357/0.1879, allocations: 1.534 MB / 0.6455 GB, free: 1.062 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.1879, allocations: 4 kB / 0.6455 GB, free: 1.059 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007973/0.1887, allocations: 323.6 kB / 0.6458 GB, free: 0.7422 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003085/0.1891, allocations: 112.7 kB / 0.6459 GB, free: 0.6289 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.269e-05/0.1891, allocations: 31.95 kB / 0.646 GB, free: 0.5977 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008815/0.19, allocations: 1.32 MB / 0.6473 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.19, allocations: 4 kB / 0.6473 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/0.1911, allocations: 0.9226 MB / 0.6482 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003179/0.1914, allocations: 175 kB / 0.6483 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.1915, allocations: 20 kB / 0.6484 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006128/0.1921, allocations: 175.9 kB / 0.6485 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.1922, allocations: 80.84 kB / 0.6486 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.881e-05/0.1923, allocations: 35.95 kB / 0.6486 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002278/0.1925, allocations: 259.5 kB / 0.6489 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.1925, allocations: 0 / 0.6489 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000901/0.1934, allocations: 427 kB / 0.6493 GB, free: 13.09 MB / 0.6198 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 (122): * Single equations (assignments): 116 * 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.001592/0.195, allocations: 0.7441 MB / 0.65 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001229/0.1962, allocations: 0.9702 MB / 0.651 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/0.1962, allocations: 4 kB / 0.651 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007384/0.197, allocations: 0.6163 MB / 0.6516 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007029/0.1977, allocations: 333.6 kB / 0.6519 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0025/0.2002, allocations: 1.908 MB / 0.6537 GB, free: 8.812 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001376/0.2003, allocations: 216.6 kB / 0.654 GB, free: 8.578 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000855/0.2012, allocations: 299.5 kB / 0.6542 GB, free: 8.281 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007782/0.202, allocations: 343 kB / 0.6546 GB, free: 7.945 MB / 0.6198 GB Notification: Performance of SimCode: time 1.363e-06/0.202, allocations: 0 / 0.6546 GB, free: 7.945 MB / 0.6198 GB Notification: Performance of Templates: time 0.02438/0.2263, allocations: 21.94 MB / 0.676 GB, free: 2.367 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.9619971150532365]