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.001358/0.001358, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 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.001507/0.001507, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.462/1.462, allocations: 177.2 MB / 203.1 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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 1.255/1.255, allocations: 154.6 MB / 414.1 MB, free: 0.6406 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 178] 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.233e-06/1.233e-06, allocations: 0 / 0.5196 GB, free: 2.617 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.866e-05/2.99e-05, allocations: 3.031 kB / 0.5196 GB, free: 2.613 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.007794/0.007824, allocations: 4.399 MB / 0.5239 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.2009/0.2087, allocations: 132.7 MB / 0.6535 GB, free: 9.152 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000883/0.2096, allocations: 23.81 kB / 0.6535 GB, free: 9.129 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0008613/0.2105, allocations: 202.1 kB / 0.6537 GB, free: 8.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002315/0.2128, allocations: 0.5669 MB / 0.6543 GB, free: 8.359 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002446/0.2152, allocations: 0.8568 MB / 0.6551 GB, free: 7.5 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002507/0.2177, allocations: 1.436 MB / 0.6565 GB, free: 6.055 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001067/0.2188, allocations: 401.7 kB / 0.6569 GB, free: 5.645 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00166/0.2205, allocations: 0.7212 MB / 0.6576 GB, free: 4.922 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008719/0.2213, allocations: 398.8 kB / 0.658 GB, free: 4.531 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0003249/0.2217, allocations: 120 kB / 0.6581 GB, free: 4.414 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001316/0.223, allocations: 499.3 kB / 0.6586 GB, free: 3.926 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0004499/0.2234, allocations: 311 kB / 0.6589 GB, free: 3.621 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0008388/0.2243, allocations: 387 kB / 0.6592 GB, free: 3.242 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.003129/0.2274, allocations: 1.783 MB / 0.661 GB, free: 1.453 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2274, allocations: 0 / 0.661 GB, free: 1.453 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2274, allocations: 0 / 0.661 GB, free: 1.453 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.085e-05/0.2275, allocations: 0 / 0.661 GB, free: 1.453 MB / 0.6198 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.003799/0.2313, allocations: 1.407 MB / 0.6624 GB, free: 8 kB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.2313, allocations: 8.031 kB / 0.6624 GB, free: 0 / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002219/0.2335, allocations: 355.5 kB / 0.6627 GB, free: 15.65 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001982/0.2355, allocations: 0.7337 MB / 0.6634 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.53e-05/0.2356, allocations: 62.12 kB / 0.6635 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001918/0.2358, allocations: 88 kB / 0.6636 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002312/0.2381, allocations: 1.173 MB / 0.6647 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/0.2381, allocations: 0 / 0.6647 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/0.2382, allocations: 36 kB / 0.6647 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.209e-05/0.2382, allocations: 24 kB / 0.6648 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002161/0.2404, allocations: 1.069 MB / 0.6658 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004578/0.245, allocations: 2.127 MB / 0.6679 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001742/0.2467, allocations: 0.7664 MB / 0.6686 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005979/0.2473, allocations: 278.6 kB / 0.6689 GB, free: 9.113 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.504e-05/0.2474, allocations: 28.64 kB / 0.6689 GB, free: 9.086 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001078/0.2485, allocations: 0.5893 MB / 0.6695 GB, free: 8.457 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=79): time 2.254e-06/0.2485, allocations: 0 / 0.6695 GB, free: 8.457 MB / 0.6355 GB Notification: Performance of matching and sorting (n=79): time 0.003907/0.2524, allocations: 1.15 MB / 0.6706 GB, free: 7.301 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001608/0.2526, allocations: 192.6 kB / 0.6708 GB, free: 7.07 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/0.2536, allocations: 0.5978 MB / 0.6714 GB, free: 6.465 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.495e-05/0.2537, allocations: 41.7 kB / 0.6714 GB, free: 6.418 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004223/0.2541, allocations: 405 kB / 0.6718 GB, free: 6.016 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002981/0.2544, allocations: 269.7 kB / 0.6721 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003128/0.2547, allocations: 162.6 kB / 0.6722 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002609/0.255, allocations: 386.8 kB / 0.6726 GB, free: 5.195 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006244/0.2556, allocations: 261.9 kB / 0.6728 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008119/0.2564, allocations: 491.6 kB / 0.6733 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001304/0.2577, allocations: 0.6073 MB / 0.6739 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/0.2578, allocations: 3.938 kB / 0.6739 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002334/0.2601, allocations: 0.8804 MB / 0.6748 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.2601, allocations: 4 kB / 0.6748 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.2601, allocations: 0 / 0.6748 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009874/0.2611, allocations: 132.8 kB / 0.6749 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006997/0.2618, allocations: 167.7 kB / 0.6751 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002529/0.2643, allocations: 1.511 MB / 0.6765 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007934/0.2651, allocations: 85.77 kB / 0.6766 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.229e-05/0.2652, allocations: 39.97 kB / 0.6767 GB, free: 0.8711 MB / 0.6355 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.conTim.canRepeatWeatherFile,weaDat.conTimMin.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.0008063/0.266, allocations: 267.7 kB / 0.6769 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003684/0.2664, allocations: 111.5 kB / 0.677 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2573/0.5237, allocations: 1.055 MB / 0.678 GB, free: 200.8 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.524e-05/0.5237, allocations: 8.312 kB / 0.6781 GB, free: 200.8 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.5237, allocations: 0.6562 kB / 0.6781 GB, free: 200.8 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.501e-05/0.5237, allocations: 6.344 kB / 0.6781 GB, free: 200.8 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003312/0.5271, allocations: 1.701 MB / 0.6797 GB, free: 200.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.5271, allocations: 3.781 kB / 0.6797 GB, free: 200.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005641/0.5276, allocations: 140.1 kB / 0.6799 GB, free: 200.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007585/0.5284, allocations: 122 kB / 0.68 GB, free: 200.2 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.478e-05/0.5285, allocations: 31.23 kB / 0.68 GB, free: 200.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001601/0.5301, allocations: 1.535 MB / 0.6815 GB, free: 198.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.5301, allocations: 1.781 kB / 0.6815 GB, free: 198.8 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002003/0.5321, allocations: 1.026 MB / 0.6825 GB, free: 198.4 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004596/0.5325, allocations: 203.1 kB / 0.6827 GB, free: 198.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001754/0.5327, allocations: 23.84 kB / 0.6827 GB, free: 198.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007321/0.5334, allocations: 60.27 kB / 0.6828 GB, free: 198.3 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001685/0.5336, allocations: 71.5 kB / 0.6829 GB, free: 198.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-05/0.5337, allocations: 37.77 kB / 0.6829 GB, free: 198.3 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005764/0.5343, allocations: 433.9 kB / 0.6833 GB, free: 198.1 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.5343, allocations: 0 / 0.6833 GB, free: 198.1 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0009731/0.5352, allocations: 336.1 kB / 0.6836 GB, free: 198.1 MB / 0.6355 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.002408/0.5376, allocations: 0.6469 MB / 0.6843 GB, free: 198 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001609/0.5392, allocations: 0.7987 MB / 0.685 GB, free: 197.6 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.237e-06/0.5392, allocations: 0 / 0.685 GB, free: 197.6 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000824/0.5401, allocations: 0.493 MB / 0.6855 GB, free: 197.4 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001356/0.5414, allocations: 333.9 kB / 0.6858 GB, free: 197.3 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002926/0.5444, allocations: 1.679 MB / 0.6875 GB, free: 196.4 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004283/0.5448, allocations: 432.7 kB / 0.6879 GB, free: 196.3 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0007648/0.5455, allocations: 264.9 kB / 0.6881 GB, free: 196.3 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000278/0.5458, allocations: 105.5 kB / 0.6882 GB, free: 196.3 MB / 0.6355 GB Notification: Performance of SimCode: time 1.443e-06/0.5458, allocations: 0 / 0.6882 GB, free: 196.3 MB / 0.6355 GB Notification: Performance of Templates: time 0.02383/0.5697, allocations: 15.29 MB / 0.7032 GB, free: 194.7 MB / 0.6355 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.869451040984131]