Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.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.001833/0.001833, allocations: 81.5 kB / 19.44 MB, free: 340 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.001949/0.001949, allocations: 169.2 kB / 22.76 MB, free: 1.66 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.587/1.587, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 1.319/1.319, allocations: 154.8 MB / 414.4 MB, free: 476 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 178] 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.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 0.5198 GB, free: 2.316 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.813e-05/4.041e-05, allocations: 4.422 kB / 0.5198 GB, free: 2.312 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.008569/0.00861, allocations: 4.757 MB / 0.5245 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.2227/0.2313, allocations: 146.3 MB / 0.6674 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001073/0.2324, allocations: 23.81 kB / 0.6674 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0007514/0.2331, allocations: 202.1 kB / 0.6676 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002332/0.2354, allocations: 0.5902 MB / 0.6682 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002503/0.2379, allocations: 0.8724 MB / 0.669 GB, free: 9.211 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002435/0.2404, allocations: 1.483 MB / 0.6705 GB, free: 7.719 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008731/0.2413, allocations: 397.8 kB / 0.6708 GB, free: 7.312 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00142/0.2427, allocations: 0.7523 MB / 0.6716 GB, free: 6.559 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007215/0.2434, allocations: 418.8 kB / 0.672 GB, free: 6.148 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.000219/0.2436, allocations: 124 kB / 0.6721 GB, free: 6.027 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001237/0.2448, allocations: 499.3 kB / 0.6726 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003644/0.2452, allocations: 315 kB / 0.6729 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0006917/0.2459, allocations: 398.9 kB / 0.6732 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002834/0.2487, allocations: 1.803 MB / 0.675 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.2487, allocations: 0 / 0.675 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.084e-06/0.2487, allocations: 4 kB / 0.675 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.707e-05/0.2488, allocations: 0 / 0.675 GB, free: 3.027 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.003382/0.2522, allocations: 1.614 MB / 0.6766 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.2522, allocations: 8.031 kB / 0.6766 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001852/0.2541, allocations: 351.4 kB / 0.6769 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001494/0.2556, allocations: 0.7442 MB / 0.6777 GB, free: 248 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.785e-05/0.2556, allocations: 66.12 kB / 0.6777 GB, free: 184 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001407/0.2558, allocations: 92 kB / 0.6778 GB, free: 92 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2929/0.5487, allocations: 1.22 MB / 0.679 GB, free: 201.7 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.945e-05/0.5487, allocations: 3.328 kB / 0.679 GB, free: 201.7 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-05/0.5488, allocations: 41.91 kB / 0.679 GB, free: 201.7 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.804e-05/0.5488, allocations: 22.91 kB / 0.6791 GB, free: 201.7 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001402/0.5502, allocations: 1.033 MB / 0.6801 GB, free: 201.5 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003696/0.5539, allocations: 2.929 MB / 0.6829 GB, free: 199.8 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00116/0.555, allocations: 0.715 MB / 0.6836 GB, free: 199.6 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004051/0.5555, allocations: 260.3 kB / 0.6839 GB, free: 199.5 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.836e-05/0.5555, allocations: 31.25 kB / 0.6839 GB, free: 199.5 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007452/0.5563, allocations: 0.6236 MB / 0.6845 GB, free: 199.1 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=84): time 2.454e-06/0.5563, allocations: 0.5 kB / 0.6845 GB, free: 199.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=84): time 0.002844/0.5591, allocations: 1.103 MB / 0.6856 GB, free: 198.8 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.355e-05/0.5592, allocations: 194 kB / 0.6858 GB, free: 198.5 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007355/0.5599, allocations: 0.765 MB / 0.6865 GB, free: 198.2 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.756e-05/0.56, allocations: 48.89 kB / 0.6866 GB, free: 198.1 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002795/0.5603, allocations: 493.6 kB / 0.687 GB, free: 197.8 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001746/0.5604, allocations: 303.3 kB / 0.6873 GB, free: 197.6 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002417/0.5607, allocations: 200.2 kB / 0.6875 GB, free: 197.5 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.5608, allocations: 0.6106 MB / 0.6881 GB, free: 196.9 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004138/0.5612, allocations: 237 kB / 0.6883 GB, free: 196.9 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005336/0.5618, allocations: 494.7 kB / 0.6888 GB, free: 196.5 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000873/0.5627, allocations: 0.5605 MB / 0.6894 GB, free: 196.3 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.5627, allocations: 1.781 kB / 0.6894 GB, free: 196.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.001742/0.5644, allocations: 0.8246 MB / 0.6902 GB, free: 196 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.5644, allocations: 9.938 kB / 0.6902 GB, free: 196 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.5644, allocations: 0 / 0.6902 GB, free: 196 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009101/0.5653, allocations: 138.7 kB / 0.6903 GB, free: 195.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006052/0.5659, allocations: 162.5 kB / 0.6905 GB, free: 195.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00188/0.5678, allocations: 2.031 MB / 0.6924 GB, free: 194 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006801/0.5685, allocations: 77.42 kB / 0.6925 GB, free: 194 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.116e-05/0.5686, allocations: 42.89 kB / 0.6926 GB, free: 194 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: 20 (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,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 (99): * Single equations (assignments): 98 * 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.0004202/0.569, allocations: 273 kB / 0.6928 GB, free: 193.8 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002059/0.5692, allocations: 122 kB / 0.6929 GB, free: 193.7 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002074/0.5713, allocations: 1.056 MB / 0.694 GB, free: 193.3 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.5713, allocations: 9.281 kB / 0.694 GB, free: 193.3 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.5713, allocations: 0.6562 kB / 0.694 GB, free: 193.3 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.5713, allocations: 4.625 kB / 0.694 GB, free: 193.3 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00285/0.5741, allocations: 1.873 MB / 0.6958 GB, free: 192.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.5742, allocations: 2.594 kB / 0.6958 GB, free: 192.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005267/0.5747, allocations: 155 kB / 0.696 GB, free: 192.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000701/0.5754, allocations: 127.7 kB / 0.6961 GB, free: 192.4 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.522e-05/0.5754, allocations: 31.56 kB / 0.6961 GB, free: 192.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001538/0.577, allocations: 2.061 MB / 0.6981 GB, free: 190.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.577, allocations: 0 / 0.6981 GB, free: 190.5 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001776/0.5788, allocations: 1.082 MB / 0.6992 GB, free: 190 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000394/0.5791, allocations: 205 kB / 0.6994 GB, free: 189.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/0.5793, allocations: 21.39 kB / 0.6994 GB, free: 189.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005243/0.5798, allocations: 52.8 kB / 0.6995 GB, free: 189.9 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000167/0.58, allocations: 81.27 kB / 0.6995 GB, free: 189.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.862e-05/0.58, allocations: 40.95 kB / 0.6996 GB, free: 189.9 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000506/0.5805, allocations: 0.4899 MB / 0.7 GB, free: 189.6 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9e-08/0.5805, allocations: 0 / 0.7 GB, free: 189.6 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0009097/0.5814, allocations: 344.4 kB / 0.7004 GB, free: 189.6 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: 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 (99): * Single equations (assignments): 92 * 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.003129/0.5846, allocations: 0.6583 MB / 0.701 GB, free: 189.4 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001521/0.5861, allocations: 0.8636 MB / 0.7019 GB, free: 189 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.5861, allocations: 0 / 0.7019 GB, free: 189 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007801/0.5869, allocations: 0.5929 MB / 0.7024 GB, free: 188.7 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/0.5881, allocations: 323.4 kB / 0.7027 GB, free: 188.6 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00255/0.5906, allocations: 1.673 MB / 0.7044 GB, free: 187.7 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.591, allocations: 445.3 kB / 0.7048 GB, free: 187.6 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0006323/0.5916, allocations: 259.6 kB / 0.7051 GB, free: 187.6 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002526/0.5919, allocations: 113.6 kB / 0.7052 GB, free: 187.6 MB / 0.6355 GB Notification: Performance of SimCode: time 9.52e-07/0.5919, allocations: 0 / 0.7052 GB, free: 187.6 MB / 0.6355 GB Notification: Performance of Templates: time 0.02842/0.6203, allocations: 15.8 MB / 0.7206 GB, free: 185.2 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.409606432076544]