Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.0009731/0.0009731, 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.00107/0.00107, 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 1.036/1.036, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.8458/0.8458, allocations: 154.9 MB / 415.1 MB, free: 236 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.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 480.4 MB, free: 6.516 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.061e-05/2.232e-05, allocations: 3.438 kB / 480.4 MB, free: 6.512 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.004769/0.004791, allocations: 4.648 MB / 485 MB, free: 1.902 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.1374/0.1422, allocations: 146 MB / 0.6162 GB, free: 15.72 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000754/0.143, allocations: 23.81 kB / 0.6163 GB, free: 15.7 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.000533/0.1435, allocations: 194.2 kB / 0.6164 GB, free: 15.51 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.001338/0.1448, allocations: 0.5551 MB / 0.617 GB, free: 14.95 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.001578/0.1464, allocations: 0.8411 MB / 0.6178 GB, free: 14.11 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.00135/0.1478, allocations: 1.409 MB / 0.6192 GB, free: 12.69 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005494/0.1483, allocations: 409.8 kB / 0.6196 GB, free: 12.26 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009124/0.1492, allocations: 0.7483 MB / 0.6203 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006597/0.1499, allocations: 366.9 kB / 0.6207 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0001147/0.15, allocations: 104 kB / 0.6208 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009607/0.151, allocations: 0.5031 MB / 0.6213 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001775/0.1511, allocations: 291 kB / 0.6215 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0002553/0.1514, allocations: 355.1 kB / 0.6219 GB, free: 9.91 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001355/0.1527, allocations: 1.214 MB / 0.6231 GB, free: 8.691 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.1528, allocations: 0 / 0.6231 GB, free: 8.691 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.243e-06/0.1528, allocations: 0 / 0.6231 GB, free: 8.691 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.092e-05/0.1528, allocations: 0 / 0.6231 GB, free: 8.691 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.001466/0.1542, allocations: 1.332 MB / 0.6244 GB, free: 7.328 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.1543, allocations: 12.03 kB / 0.6244 GB, free: 7.316 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008168/0.1551, allocations: 284.2 kB / 0.6246 GB, free: 7.039 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000718/0.1558, allocations: 0.5823 MB / 0.6252 GB, free: 6.426 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.861e-05/0.1559, allocations: 62.12 kB / 0.6253 GB, free: 6.367 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.717e-05/0.1559, allocations: 80 kB / 0.6253 GB, free: 6.289 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007158/0.1566, allocations: 0.8485 MB / 0.6262 GB, free: 5.352 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.1567, allocations: 0 / 0.6262 GB, free: 5.352 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.412e-05/0.1567, allocations: 35.94 kB / 0.6262 GB, free: 5.316 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/0.1567, allocations: 23.94 kB / 0.6262 GB, free: 5.293 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005927/0.1573, allocations: 0.5674 MB / 0.6268 GB, free: 4.727 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002092/0.1594, allocations: 1.558 MB / 0.6283 GB, free: 3.129 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004833/0.1599, allocations: 366.7 kB / 0.6287 GB, free: 2.762 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001346/0.16, allocations: 126.8 kB / 0.6288 GB, free: 2.637 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.994e-05/0.1601, allocations: 28.62 kB / 0.6288 GB, free: 2.609 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003497/0.1604, allocations: 425.9 kB / 0.6292 GB, free: 2.152 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=79): time 2.264e-06/0.1604, allocations: 4 kB / 0.6292 GB, free: 2.148 MB / 0.5886 GB Notification: Performance of matching and sorting (n=79): time 0.001039/0.1615, allocations: 0.5258 MB / 0.6297 GB, free: 1.617 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.008e-05/0.1615, allocations: 192.6 kB / 0.6299 GB, free: 1.383 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003578/0.1619, allocations: 0.5015 MB / 0.6304 GB, free: 0.8711 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.569e-05/0.1619, allocations: 45.7 kB / 0.6304 GB, free: 0.8203 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/0.1621, allocations: 330.2 kB / 0.6308 GB, free: 0.4922 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.1622, allocations: 261.7 kB / 0.631 GB, free: 240 kB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001424/0.1624, allocations: 158.5 kB / 0.6312 GB, free: 76 kB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.1625, allocations: 386.7 kB / 0.6315 GB, free: 15.68 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.1626, allocations: 80.78 kB / 0.6316 GB, free: 15.6 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001954/0.1628, allocations: 303.6 kB / 0.6319 GB, free: 15.26 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003042/0.1631, allocations: 295.3 kB / 0.6322 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.1631, allocations: 8 kB / 0.6322 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0006155/0.1637, allocations: 426.9 kB / 0.6326 GB, free: 14.54 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.1637, allocations: 8 kB / 0.6326 GB, free: 14.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.1637, allocations: 4.094 kB / 0.6326 GB, free: 14.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004061/0.1641, allocations: 120.7 kB / 0.6327 GB, free: 14.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003421/0.1645, allocations: 159.8 kB / 0.6329 GB, free: 14.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001079/0.1656, allocations: 1.312 MB / 0.6341 GB, free: 12.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002754/0.1658, allocations: 71.59 kB / 0.6342 GB, free: 12.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.983e-05/0.1659, allocations: 35.84 kB / 0.6342 GB, free: 12.73 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (93): * Single equations (assignments): 92 * 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.0004504/0.1663, allocations: 162.5 kB / 0.6344 GB, free: 12.56 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.835e-05/0.1664, allocations: 71.92 kB / 0.6345 GB, free: 12.49 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008023/0.1672, allocations: 0.5986 MB / 0.6351 GB, free: 11.88 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.1672, allocations: 8 kB / 0.6351 GB, free: 11.87 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.1672, allocations: 8 kB / 0.6351 GB, free: 11.86 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.1672, allocations: 3.984 kB / 0.6351 GB, free: 11.86 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/0.1684, allocations: 0.9455 MB / 0.636 GB, free: 10.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1684, allocations: 0 / 0.636 GB, free: 10.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002904/0.1686, allocations: 139.8 kB / 0.6361 GB, free: 10.74 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003151/0.169, allocations: 112.7 kB / 0.6362 GB, free: 10.63 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.577e-05/0.169, allocations: 23.97 kB / 0.6363 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008837/0.1699, allocations: 1.317 MB / 0.6376 GB, free: 9.199 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1699, allocations: 0 / 0.6376 GB, free: 9.199 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006115/0.1705, allocations: 0.5399 MB / 0.6381 GB, free: 8.645 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001932/0.1707, allocations: 147.1 kB / 0.6382 GB, free: 8.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.598e-05/0.1708, allocations: 24 kB / 0.6382 GB, free: 8.477 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002119/0.171, allocations: 35.97 kB / 0.6383 GB, free: 8.441 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.1711, allocations: 60.88 kB / 0.6383 GB, free: 8.383 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.893e-05/0.1711, allocations: 27.97 kB / 0.6384 GB, free: 8.355 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001978/0.1713, allocations: 239.4 kB / 0.6386 GB, free: 8.125 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.1713, allocations: 0 / 0.6386 GB, free: 8.125 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006149/0.1719, allocations: 323.1 kB / 0.6389 GB, free: 7.809 MB / 0.6042 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 (90): * Single equations (assignments): 84 * 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.001527/0.1734, allocations: 0.7636 MB / 0.6396 GB, free: 7.379 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007186/0.1742, allocations: 490 kB / 0.6401 GB, free: 6.883 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.387e-05/0.1742, allocations: 8.188 kB / 0.6401 GB, free: 6.875 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003442/0.1745, allocations: 351 kB / 0.6405 GB, free: 6.516 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006271/0.1752, allocations: 312 kB / 0.6407 GB, free: 6.242 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002329/0.1775, allocations: 1.455 MB / 0.6422 GB, free: 4.758 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001224/0.1776, allocations: 186.4 kB / 0.6423 GB, free: 4.555 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004191/0.178, allocations: 182.4 kB / 0.6425 GB, free: 4.371 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005028/0.1785, allocations: 303 kB / 0.6428 GB, free: 4.07 MB / 0.6042 GB Notification: Performance of SimCode: time 1.223e-06/0.1785, allocations: 0 / 0.6428 GB, free: 4.07 MB / 0.6042 GB Notification: Performance of Templates: time 0.02181/0.2003, allocations: 16.22 MB / 0.6587 GB, free: 4.211 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.512486290186644]