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.0008553/0.0008553, 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.0008917/0.0008917, 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.9265/0.9265, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.7921/0.7921, allocations: 154.6 MB / 414.8 MB, free: 0.5117 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.533e-06/1.533e-06, allocations: 0 / 480 MB, free: 6.953 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.533e-05, allocations: 2.312 kB / 480 MB, free: 6.949 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.007116/0.007141, allocations: 4.631 MB / 484.6 MB, free: 2.359 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.1409/0.148, allocations: 146 MB / 0.6158 GB, free: 188 kB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007284/0.1487, allocations: 23.81 kB / 0.6158 GB, free: 164 kB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0005176/0.1493, allocations: 202.2 kB / 0.616 GB, free: 15.96 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.001312/0.1506, allocations: 0.5824 MB / 0.6166 GB, free: 15.37 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.001907/0.1525, allocations: 0.8569 MB / 0.6174 GB, free: 14.51 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.001923/0.1544, allocations: 1.444 MB / 0.6188 GB, free: 13.06 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000749/0.1552, allocations: 409.6 kB / 0.6192 GB, free: 12.63 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001229/0.1564, allocations: 0.7639 MB / 0.62 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006036/0.157, allocations: 362.9 kB / 0.6203 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0001686/0.1572, allocations: 108 kB / 0.6204 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00115/0.1583, allocations: 495.3 kB / 0.6209 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0002628/0.1586, allocations: 291 kB / 0.6212 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0004118/0.159, allocations: 371 kB / 0.6215 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001934/0.1609, allocations: 1.226 MB / 0.6227 GB, free: 9.039 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.1609, allocations: 0 / 0.6227 GB, free: 9.039 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.713e-06/0.1609, allocations: 0 / 0.6227 GB, free: 9.039 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.361e-05/0.1609, allocations: 0 / 0.6227 GB, free: 9.039 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.001918/0.1629, allocations: 1.339 MB / 0.624 GB, free: 7.668 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1629, allocations: 12.02 kB / 0.624 GB, free: 7.656 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00125/0.1641, allocations: 312.1 kB / 0.6243 GB, free: 7.352 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009764/0.1651, allocations: 0.5746 MB / 0.6249 GB, free: 6.746 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.616e-05/0.1652, allocations: 66.12 kB / 0.625 GB, free: 6.684 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.1653, allocations: 87.98 kB / 0.6251 GB, free: 6.598 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001228/0.1665, allocations: 0.8485 MB / 0.6259 GB, free: 5.66 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/0.1665, allocations: 7.984 kB / 0.6259 GB, free: 5.652 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.892e-05/0.1666, allocations: 40 kB / 0.6259 GB, free: 5.613 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.965e-05/0.1666, allocations: 20 kB / 0.6259 GB, free: 5.594 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009429/0.1676, allocations: 0.5713 MB / 0.6265 GB, free: 5.023 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002743/0.1703, allocations: 1.585 MB / 0.6281 GB, free: 3.402 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007956/0.1711, allocations: 374.5 kB / 0.6284 GB, free: 3.031 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002335/0.1713, allocations: 122.8 kB / 0.6285 GB, free: 2.906 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 6.883e-05/0.1714, allocations: 24.64 kB / 0.6285 GB, free: 2.883 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005167/0.1719, allocations: 433.9 kB / 0.629 GB, free: 2.418 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=79): time 3.095e-06/0.1719, allocations: 0 / 0.629 GB, free: 2.418 MB / 0.5886 GB Notification: Performance of matching and sorting (n=79): time 0.001582/0.1735, allocations: 0.5219 MB / 0.6295 GB, free: 1.891 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.862e-05/0.1736, allocations: 196.5 kB / 0.6297 GB, free: 1.656 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005588/0.1742, allocations: 0.4976 MB / 0.6301 GB, free: 1.148 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 6.208e-05/0.1742, allocations: 53.69 kB / 0.6302 GB, free: 1.09 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002287/0.1745, allocations: 330.2 kB / 0.6305 GB, free: 0.7578 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001987/0.1746, allocations: 265.7 kB / 0.6308 GB, free: 0.4961 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002267/0.1749, allocations: 150.5 kB / 0.6309 GB, free: 348 kB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.175, allocations: 386.6 kB / 0.6313 GB, free: 15.95 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002047/0.1752, allocations: 88.77 kB / 0.6314 GB, free: 15.87 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003114/0.1756, allocations: 295.7 kB / 0.6316 GB, free: 15.54 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000504/0.1761, allocations: 299.4 kB / 0.6319 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.1761, allocations: 0 / 0.6319 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001187/0.1773, allocations: 430.9 kB / 0.6323 GB, free: 14.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.1773, allocations: 4.094 kB / 0.6323 GB, free: 14.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.1773, allocations: 4.062 kB / 0.6323 GB, free: 14.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006566/0.1779, allocations: 124.7 kB / 0.6325 GB, free: 14.67 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005284/0.1785, allocations: 147.8 kB / 0.6326 GB, free: 14.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001574/0.18, allocations: 1.315 MB / 0.6339 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004416/0.1805, allocations: 67.59 kB / 0.634 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.087e-05/0.1806, allocations: 27.97 kB / 0.634 GB, free: 13.03 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.0003104/0.1809, allocations: 158.5 kB / 0.6341 GB, free: 12.86 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/0.181, allocations: 71.92 kB / 0.6342 GB, free: 12.79 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001283/0.1823, allocations: 0.5985 MB / 0.6348 GB, free: 12.18 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.1823, allocations: 12 kB / 0.6348 GB, free: 12.16 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.1823, allocations: 0 / 0.6348 GB, free: 12.16 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.1823, allocations: 3.984 kB / 0.6348 GB, free: 12.16 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001836/0.1842, allocations: 0.966 MB / 0.6357 GB, free: 11.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.1842, allocations: 0 / 0.6357 GB, free: 11.17 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004564/0.1846, allocations: 127.8 kB / 0.6359 GB, free: 11.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004806/0.1851, allocations: 120.7 kB / 0.636 GB, free: 10.92 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.499e-05/0.1851, allocations: 15.98 kB / 0.636 GB, free: 10.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001316/0.1865, allocations: 1.332 MB / 0.6373 GB, free: 9.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.1865, allocations: 4 kB / 0.6373 GB, free: 9.477 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000992/0.1874, allocations: 0.5478 MB / 0.6378 GB, free: 8.91 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003355/0.1878, allocations: 143.2 kB / 0.638 GB, free: 8.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.1879, allocations: 23.88 kB / 0.638 GB, free: 8.746 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000396/0.1883, allocations: 39.97 kB / 0.638 GB, free: 8.707 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/0.1884, allocations: 60.88 kB / 0.6381 GB, free: 8.648 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.33e-05/0.1885, allocations: 23.97 kB / 0.6381 GB, free: 8.625 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003129/0.1888, allocations: 243.4 kB / 0.6383 GB, free: 8.391 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.01e-07/0.1888, allocations: 0 / 0.6383 GB, free: 8.391 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009461/0.1897, allocations: 331.1 kB / 0.6387 GB, free: 8.066 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.002119/0.1919, allocations: 0.7435 MB / 0.6394 GB, free: 7.648 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001342/0.1932, allocations: 490 kB / 0.6399 GB, free: 7.156 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.602e-05/0.1932, allocations: 8.188 kB / 0.6399 GB, free: 7.148 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006014/0.1938, allocations: 351 kB / 0.6402 GB, free: 6.789 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.1949, allocations: 307 kB / 0.6405 GB, free: 6.516 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003509/0.1984, allocations: 1.467 MB / 0.6419 GB, free: 5.016 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001823/0.1986, allocations: 190.3 kB / 0.6421 GB, free: 4.812 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0007515/0.1994, allocations: 178.4 kB / 0.6423 GB, free: 4.633 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007985/0.2002, allocations: 303 kB / 0.6426 GB, free: 4.336 MB / 0.6042 GB Notification: Performance of SimCode: time 1.784e-06/0.2002, allocations: 3.938 kB / 0.6426 GB, free: 4.332 MB / 0.6042 GB Notification: Performance of Templates: time 0.02219/0.2224, allocations: 16.43 MB / 0.6586 GB, free: 4.23 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 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.2995060328394175]