Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.0008952/0.0008952, allocations: 80.88 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.0009462/0.0009462, 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.9748/0.9748, 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 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8435/0.8435, allocations: 154.6 MB / 414.8 MB, free: 0.5078 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 480 MB, free: 6.922 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.547e-05/1.682e-05, allocations: 2.312 kB / 480 MB, free: 6.918 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004596/0.004612, allocations: 4.677 MB / 484.7 MB, free: 2.285 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.136/0.1406, allocations: 146 MB / 0.6159 GB, free: 104 kB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007958/0.1414, allocations: 19.81 kB / 0.6159 GB, free: 84 kB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0005141/0.1419, allocations: 202.2 kB / 0.6161 GB, free: 15.88 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.001264/0.1432, allocations: 0.5627 MB / 0.6167 GB, free: 15.32 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.001392/0.1446, allocations: 0.8412 MB / 0.6175 GB, free: 14.47 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.001163/0.1457, allocations: 1.436 MB / 0.6189 GB, free: 13.03 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005283/0.1463, allocations: 417.6 kB / 0.6193 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008159/0.1471, allocations: 0.7562 MB / 0.62 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003972/0.1475, allocations: 370.8 kB / 0.6204 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.00011/0.1476, allocations: 108 kB / 0.6205 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007303/0.1483, allocations: 0.5071 MB / 0.621 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001796/0.1485, allocations: 291 kB / 0.6213 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0002403/0.1487, allocations: 367.1 kB / 0.6216 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001184/0.1499, allocations: 1.23 MB / 0.6228 GB, free: 8.977 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1499, allocations: 4 kB / 0.6228 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.92e-07/0.1499, allocations: 0 / 0.6228 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.235e-05/0.1499, allocations: 0 / 0.6228 GB, free: 8.973 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.001367/0.1513, allocations: 1.343 MB / 0.6241 GB, free: 7.598 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 2.767e-05/0.1513, allocations: 8.031 kB / 0.6241 GB, free: 7.59 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009222/0.1523, allocations: 304.1 kB / 0.6244 GB, free: 7.293 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006693/0.1529, allocations: 0.5823 MB / 0.625 GB, free: 6.68 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.823e-05/0.153, allocations: 66.12 kB / 0.625 GB, free: 6.617 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.588e-05/0.153, allocations: 84 kB / 0.6251 GB, free: 6.535 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006643/0.1537, allocations: 0.8601 MB / 0.626 GB, free: 5.586 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.1537, allocations: 0 / 0.626 GB, free: 5.586 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.254e-05/0.1538, allocations: 36 kB / 0.626 GB, free: 5.551 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/0.1538, allocations: 20 kB / 0.626 GB, free: 5.531 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005893/0.1544, allocations: 0.5713 MB / 0.6266 GB, free: 4.961 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001803/0.1562, allocations: 1.581 MB / 0.6281 GB, free: 3.34 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004814/0.1567, allocations: 370.5 kB / 0.6285 GB, free: 2.973 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001351/0.1568, allocations: 126.8 kB / 0.6286 GB, free: 2.844 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.608e-05/0.1568, allocations: 28.64 kB / 0.6286 GB, free: 2.816 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003445/0.1572, allocations: 444.4 kB / 0.629 GB, free: 2.344 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=79): time 1.973e-06/0.1572, allocations: 0 / 0.629 GB, free: 2.344 MB / 0.5886 GB Notification: Performance of matching and sorting (n=79): time 0.001239/0.1584, allocations: 0.5258 MB / 0.6296 GB, free: 1.812 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.204e-05/0.1585, allocations: 192.6 kB / 0.6297 GB, free: 1.582 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003332/0.1588, allocations: 0.5016 MB / 0.6302 GB, free: 1.07 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.15e-05/0.1589, allocations: 41.7 kB / 0.6303 GB, free: 1.023 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.159, allocations: 330.2 kB / 0.6306 GB, free: 0.6914 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001272/0.1591, allocations: 265.7 kB / 0.6308 GB, free: 440 kB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/0.1593, allocations: 158.5 kB / 0.631 GB, free: 272 kB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.1594, allocations: 382.6 kB / 0.6314 GB, free: 15.88 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.1595, allocations: 84.77 kB / 0.6314 GB, free: 15.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002086/0.1597, allocations: 295.7 kB / 0.6317 GB, free: 15.47 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003305/0.16, allocations: 303.4 kB / 0.632 GB, free: 15.16 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.1601, allocations: 0 / 0.632 GB, free: 15.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0006341/0.1607, allocations: 422.9 kB / 0.6324 GB, free: 14.74 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.1607, allocations: 12.09 kB / 0.6324 GB, free: 14.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.1607, allocations: 3.938 kB / 0.6324 GB, free: 14.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004339/0.1611, allocations: 120.7 kB / 0.6325 GB, free: 14.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003488/0.1615, allocations: 159.8 kB / 0.6327 GB, free: 14.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001047/0.1625, allocations: 1.314 MB / 0.634 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002435/0.1628, allocations: 67.8 kB / 0.634 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.963e-05/0.1628, allocations: 27.95 kB / 0.6341 GB, free: 12.95 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.0001682/0.163, allocations: 162.5 kB / 0.6342 GB, free: 12.78 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.071e-05/0.1631, allocations: 71.94 kB / 0.6343 GB, free: 12.71 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007815/0.1639, allocations: 0.5946 MB / 0.6349 GB, free: 12.1 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.1639, allocations: 12 kB / 0.6349 GB, free: 12.09 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.1639, allocations: 0 / 0.6349 GB, free: 12.09 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.1639, allocations: 3.984 kB / 0.6349 GB, free: 12.08 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/0.165, allocations: 0.966 MB / 0.6358 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.165, allocations: 0 / 0.6358 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002837/0.1653, allocations: 143.8 kB / 0.636 GB, free: 10.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003078/0.1656, allocations: 116.8 kB / 0.6361 GB, free: 10.83 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.238e-05/0.1656, allocations: 11.98 kB / 0.6361 GB, free: 10.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001043/0.1667, allocations: 1.336 MB / 0.6374 GB, free: 9.387 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1667, allocations: 0 / 0.6374 GB, free: 9.387 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005901/0.1673, allocations: 0.5517 MB / 0.6379 GB, free: 8.816 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001776/0.1674, allocations: 135.2 kB / 0.6381 GB, free: 8.684 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.18e-05/0.1675, allocations: 19.94 kB / 0.6381 GB, free: 8.664 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/0.1677, allocations: 41.94 kB / 0.6381 GB, free: 8.625 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.622e-05/0.1678, allocations: 68.86 kB / 0.6382 GB, free: 8.559 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.884e-05/0.1678, allocations: 24.05 kB / 0.6382 GB, free: 8.535 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001861/0.168, allocations: 243.4 kB / 0.6384 GB, free: 8.301 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.168, allocations: 4 kB / 0.6385 GB, free: 8.297 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005385/0.1686, allocations: 331.1 kB / 0.6388 GB, free: 7.973 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.001521/0.1701, allocations: 0.7326 MB / 0.6395 GB, free: 7.566 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005722/0.1707, allocations: 490.1 kB / 0.64 GB, free: 7.074 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/0.1707, allocations: 8.062 kB / 0.64 GB, free: 7.066 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003175/0.171, allocations: 358.9 kB / 0.6403 GB, free: 6.699 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006029/0.1716, allocations: 314 kB / 0.6406 GB, free: 6.414 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002108/0.1737, allocations: 1.462 MB / 0.642 GB, free: 4.922 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001301/0.1738, allocations: 190.3 kB / 0.6422 GB, free: 4.719 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003975/0.1742, allocations: 186.4 kB / 0.6424 GB, free: 4.531 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005035/0.1747, allocations: 299 kB / 0.6427 GB, free: 4.234 MB / 0.6042 GB Notification: Performance of SimCode: time 7.81e-07/0.1747, allocations: 0 / 0.6427 GB, free: 4.234 MB / 0.6042 GB Notification: Performance of Templates: time 0.01964/0.1944, allocations: 16.43 MB / 0.6587 GB, free: 4.129 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile [Timeout 660] (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.249246804974973]