Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.0008913/0.0008913, allocations: 80.81 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.0009551/0.0009551, allocations: 173 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.9798/0.9798, 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.7824/0.7824, allocations: 154.9 MB / 415.1 MB, free: 248 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.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 480.3 MB, free: 6.586 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.03e-05/2.165e-05, allocations: 2.312 kB / 480.3 MB, free: 6.582 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005228/0.00525, allocations: 4.744 MB / 485.1 MB, free: 1.879 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.1478/0.153, allocations: 146 MB / 0.6163 GB, free: 15.66 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008074/0.1538, allocations: 23.81 kB / 0.6164 GB, free: 15.64 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0005349/0.1544, allocations: 202 kB / 0.6165 GB, free: 15.44 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.001402/0.1558, allocations: 0.6057 MB / 0.6171 GB, free: 14.83 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.001586/0.1574, allocations: 0.8686 MB / 0.618 GB, free: 13.96 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.001343/0.1587, allocations: 1.494 MB / 0.6194 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005627/0.1593, allocations: 414.1 kB / 0.6198 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009112/0.1602, allocations: 0.7913 MB / 0.6206 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003557/0.1605, allocations: 390.8 kB / 0.621 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 9.34e-05/0.1606, allocations: 108 kB / 0.6211 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007503/0.1614, allocations: 491.3 kB / 0.6216 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001793/0.1615, allocations: 295 kB / 0.6218 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0002478/0.1618, allocations: 387 kB / 0.6222 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001489/0.1633, allocations: 1.261 MB / 0.6234 GB, free: 8.332 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1633, allocations: 0 / 0.6234 GB, free: 8.332 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1633, allocations: 0 / 0.6234 GB, free: 8.332 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.235e-05/0.1633, allocations: 0 / 0.6234 GB, free: 8.332 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.001598/0.1649, allocations: 1.392 MB / 0.6248 GB, free: 6.906 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.1649, allocations: 8.031 kB / 0.6248 GB, free: 6.898 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009184/0.1659, allocations: 316.1 kB / 0.6251 GB, free: 6.59 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006529/0.1665, allocations: 0.5862 MB / 0.6257 GB, free: 5.973 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.981e-05/0.1666, allocations: 70.12 kB / 0.6257 GB, free: 5.906 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.642e-05/0.1666, allocations: 88 kB / 0.6258 GB, free: 5.82 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006703/0.1673, allocations: 0.8758 MB / 0.6267 GB, free: 4.855 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.1673, allocations: 4 kB / 0.6267 GB, free: 4.852 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.735e-05/0.1674, allocations: 39.98 kB / 0.6267 GB, free: 4.812 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.1674, allocations: 20 kB / 0.6268 GB, free: 4.793 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005843/0.168, allocations: 0.583 MB / 0.6273 GB, free: 4.211 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001741/0.1697, allocations: 1.601 MB / 0.6289 GB, free: 2.57 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005199/0.1702, allocations: 402.8 kB / 0.6293 GB, free: 2.172 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001505/0.1704, allocations: 142.7 kB / 0.6294 GB, free: 2.031 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.642e-05/0.1704, allocations: 28.64 kB / 0.6294 GB, free: 2.004 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003577/0.1708, allocations: 466.9 kB / 0.6299 GB, free: 1.504 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=85): time 1.983e-06/0.1708, allocations: 0 / 0.6299 GB, free: 1.504 MB / 0.5886 GB Notification: Performance of matching and sorting (n=85): time 0.001307/0.1721, allocations: 0.5616 MB / 0.6304 GB, free: 0.9375 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.408e-05/0.1722, allocations: 196.9 kB / 0.6306 GB, free: 0.7031 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003339/0.1725, allocations: 0.5133 MB / 0.6311 GB, free: 184 kB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.641e-05/0.1725, allocations: 41.7 kB / 0.6312 GB, free: 136 kB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001763/0.1727, allocations: 346.4 kB / 0.6315 GB, free: 15.78 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/0.1728, allocations: 281.6 kB / 0.6318 GB, free: 15.5 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001456/0.173, allocations: 158.5 kB / 0.6319 GB, free: 15.34 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.1731, allocations: 390.5 kB / 0.6323 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.1732, allocations: 96.77 kB / 0.6324 GB, free: 14.86 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002039/0.1734, allocations: 316.5 kB / 0.6327 GB, free: 14.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003209/0.1738, allocations: 337.5 kB / 0.633 GB, free: 14.16 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1738, allocations: 0 / 0.633 GB, free: 14.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.0005924/0.1744, allocations: 455 kB / 0.6334 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.1744, allocations: 8 kB / 0.6334 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.1744, allocations: 0 / 0.6334 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000383/0.1748, allocations: 128.7 kB / 0.6336 GB, free: 13.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003271/0.1751, allocations: 159.8 kB / 0.6337 GB, free: 13.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001059/0.1761, allocations: 1.311 MB / 0.635 GB, free: 12.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002511/0.1764, allocations: 79.59 kB / 0.6351 GB, free: 11.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.989e-05/0.1764, allocations: 23.97 kB / 0.6351 GB, free: 11.91 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: 20 (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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * 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.0001916/0.1766, allocations: 166.6 kB / 0.6352 GB, free: 11.73 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.673e-05/0.1767, allocations: 75.92 kB / 0.6353 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008685/0.1776, allocations: 0.6497 MB / 0.636 GB, free: 11 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.1776, allocations: 8 kB / 0.636 GB, free: 10.99 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1776, allocations: 3.984 kB / 0.636 GB, free: 10.99 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/0.1776, allocations: 3.984 kB / 0.636 GB, free: 10.98 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001265/0.1789, allocations: 1.008 MB / 0.637 GB, free: 9.945 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1789, allocations: 0 / 0.637 GB, free: 9.945 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000286/0.1792, allocations: 147.7 kB / 0.6371 GB, free: 9.801 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006061/0.1798, allocations: 108.7 kB / 0.6372 GB, free: 9.691 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.337e-05/0.1798, allocations: 19.98 kB / 0.6372 GB, free: 9.672 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008476/0.1806, allocations: 1.332 MB / 0.6385 GB, free: 8.246 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1807, allocations: 4.031 kB / 0.6385 GB, free: 8.242 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005958/0.1812, allocations: 0.575 MB / 0.6391 GB, free: 7.648 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002086/0.1815, allocations: 143.2 kB / 0.6392 GB, free: 7.508 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.973e-05/0.1815, allocations: 23.94 kB / 0.6392 GB, free: 7.484 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002291/0.1818, allocations: 51.06 kB / 0.6393 GB, free: 7.438 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.695e-05/0.1818, allocations: 68.86 kB / 0.6394 GB, free: 7.367 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.688e-05/0.1819, allocations: 27.97 kB / 0.6394 GB, free: 7.34 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001934/0.1821, allocations: 251.4 kB / 0.6396 GB, free: 7.098 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7e-08/0.1821, allocations: 0 / 0.6396 GB, free: 7.098 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006207/0.1827, allocations: 343.1 kB / 0.6399 GB, free: 6.762 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: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,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 (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.001449/0.1841, allocations: 0.7563 MB / 0.6407 GB, free: 6.336 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006347/0.1848, allocations: 0.5094 MB / 0.6412 GB, free: 5.816 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/0.1848, allocations: 4 kB / 0.6412 GB, free: 5.812 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003415/0.1851, allocations: 383.2 kB / 0.6416 GB, free: 5.422 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006182/0.1857, allocations: 304.8 kB / 0.6418 GB, free: 5.141 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002083/0.1878, allocations: 1.537 MB / 0.6433 GB, free: 3.566 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000118/0.1879, allocations: 195.1 kB / 0.6435 GB, free: 3.355 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003962/0.1883, allocations: 182.8 kB / 0.6437 GB, free: 3.172 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004955/0.1888, allocations: 315 kB / 0.644 GB, free: 2.863 MB / 0.6042 GB Notification: Performance of SimCode: time 9.52e-07/0.1888, allocations: 0 / 0.644 GB, free: 2.863 MB / 0.6042 GB Notification: Performance of Templates: time 0.0205/0.2093, allocations: 16.94 MB / 0.6605 GB, free: 2.309 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.340050240047276]