Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001727/0.001727, allocations: 88.05 kB / 19.44 MB, free: 320 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.001956/0.001956, allocations: 173.3 kB / 22.77 MB, free: 1.641 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.529/1.529, allocations: 177.1 MB / 203.1 MB, free: 5.629 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.275/1.275, allocations: 154.8 MB / 414.3 MB, free: 472 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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.5198 GB, free: 2.34 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.831e-05/2.976e-05, allocations: 6.312 kB / 0.5198 GB, free: 2.332 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.007376/0.007406, allocations: 4.639 MB / 0.5244 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.205/0.2124, allocations: 146.3 MB / 0.6672 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001014/0.2134, allocations: 23.88 kB / 0.6672 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.000929/0.2144, allocations: 202.1 kB / 0.6674 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003031/0.2174, allocations: 0.5746 MB / 0.668 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002875/0.2203, allocations: 0.853 MB / 0.6688 GB, free: 9.414 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002327/0.2226, allocations: 1.44 MB / 0.6702 GB, free: 7.965 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001058/0.2237, allocations: 397.7 kB / 0.6706 GB, free: 7.559 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001814/0.2255, allocations: 0.725 MB / 0.6713 GB, free: 6.832 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008131/0.2263, allocations: 398.8 kB / 0.6717 GB, free: 6.441 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002007/0.2265, allocations: 120 kB / 0.6718 GB, free: 6.324 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001169/0.2277, allocations: 0.4915 MB / 0.6723 GB, free: 5.832 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.000353/0.228, allocations: 311 kB / 0.6726 GB, free: 5.527 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0005158/0.2285, allocations: 379 kB / 0.6729 GB, free: 5.156 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002529/0.231, allocations: 1.787 MB / 0.6747 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.2311, allocations: 0 / 0.6747 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2311, allocations: 0 / 0.6747 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.796e-05/0.2311, allocations: 3.938 kB / 0.6747 GB, free: 3.359 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.003014/0.2341, allocations: 1.573 MB / 0.6762 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.2341, allocations: 8.031 kB / 0.6762 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001684/0.2358, allocations: 347.4 kB / 0.6765 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001339/0.2372, allocations: 0.7248 MB / 0.6773 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.164e-05/0.2372, allocations: 66.12 kB / 0.6773 GB, free: 0.5781 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/0.2374, allocations: 88 kB / 0.6774 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2523/0.4897, allocations: 1.21 MB / 0.6786 GB, free: 201.6 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.837e-05/0.4897, allocations: 1.75 kB / 0.6786 GB, free: 201.6 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.931e-05/0.4898, allocations: 33.22 kB / 0.6786 GB, free: 201.6 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/0.4898, allocations: 21.59 kB / 0.6786 GB, free: 201.6 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001439/0.4912, allocations: 1.02 MB / 0.6796 GB, free: 201.5 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003467/0.4947, allocations: 2.994 MB / 0.6826 GB, free: 199.8 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001157/0.4959, allocations: 0.697 MB / 0.6832 GB, free: 199.5 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003824/0.4963, allocations: 254.3 kB / 0.6835 GB, free: 199.4 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.359e-05/0.4963, allocations: 32.09 kB / 0.6835 GB, free: 199.4 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006946/0.497, allocations: 0.5953 MB / 0.6841 GB, free: 199.1 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=79): time 2.255e-06/0.497, allocations: 0 / 0.6841 GB, free: 199.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=79): time 0.00263/0.4997, allocations: 1.038 MB / 0.6851 GB, free: 198.8 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.415e-05/0.4997, allocations: 196.5 kB / 0.6853 GB, free: 198.5 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006833/0.5004, allocations: 0.7412 MB / 0.686 GB, free: 198.2 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.194e-05/0.5005, allocations: 45.83 kB / 0.6861 GB, free: 198.1 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002651/0.5007, allocations: 489.8 kB / 0.6865 GB, free: 197.8 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001558/0.5009, allocations: 288.7 kB / 0.6868 GB, free: 197.6 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002437/0.5011, allocations: 193.2 kB / 0.687 GB, free: 197.5 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.5013, allocations: 0.6109 MB / 0.6876 GB, free: 196.9 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003896/0.5017, allocations: 216.1 kB / 0.6878 GB, free: 196.9 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004997/0.5022, allocations: 487.6 kB / 0.6883 GB, free: 196.6 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000822/0.503, allocations: 0.542 MB / 0.6888 GB, free: 196.3 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.503, allocations: 1.188 kB / 0.6888 GB, free: 196.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001648/0.5046, allocations: 0.7959 MB / 0.6896 GB, free: 196 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.5047, allocations: 7.5 kB / 0.6896 GB, free: 196 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.5047, allocations: 2.781 kB / 0.6896 GB, free: 196 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009138/0.5056, allocations: 140.9 kB / 0.6897 GB, free: 196 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005812/0.5062, allocations: 157.5 kB / 0.6899 GB, free: 196 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001822/0.508, allocations: 2.044 MB / 0.6919 GB, free: 194.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006297/0.5086, allocations: 71.16 kB / 0.6919 GB, free: 194 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.608e-05/0.5087, allocations: 37.62 kB / 0.692 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: 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.0004169/0.5091, allocations: 276 kB / 0.6922 GB, free: 193.8 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001938/0.5093, allocations: 114 kB / 0.6923 GB, free: 193.7 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002036/0.5113, allocations: 0.9874 MB / 0.6933 GB, free: 193.4 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/0.5113, allocations: 11.66 kB / 0.6933 GB, free: 193.4 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.5113, allocations: 0.9688 kB / 0.6933 GB, free: 193.4 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.5113, allocations: 7.172 kB / 0.6933 GB, free: 193.4 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003148/0.5145, allocations: 1.822 MB / 0.6951 GB, free: 192.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.5145, allocations: 0.5 kB / 0.6951 GB, free: 192.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005013/0.515, allocations: 141.8 kB / 0.6952 GB, free: 192.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007192/0.5157, allocations: 125 kB / 0.6953 GB, free: 192.5 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.447e-05/0.5158, allocations: 32.73 kB / 0.6954 GB, free: 192.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001647/0.5174, allocations: 2.071 MB / 0.6974 GB, free: 190.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.5174, allocations: 0 / 0.6974 GB, free: 190.5 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001803/0.5192, allocations: 1.033 MB / 0.6984 GB, free: 190.1 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004047/0.5196, allocations: 195.8 kB / 0.6986 GB, free: 190 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.5197, allocations: 21.2 kB / 0.6986 GB, free: 189.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004951/0.5202, allocations: 47.67 kB / 0.6987 GB, free: 189.9 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001751/0.5204, allocations: 77.09 kB / 0.6987 GB, free: 189.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.858e-05/0.5205, allocations: 40.44 kB / 0.6988 GB, free: 189.9 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005641/0.521, allocations: 493 kB / 0.6992 GB, free: 189.7 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.521, allocations: 0 / 0.6992 GB, free: 189.7 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001128/0.5222, allocations: 333.2 kB / 0.6996 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: 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.003354/0.5255, allocations: 0.6508 MB / 0.7002 GB, free: 189.5 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001781/0.5273, allocations: 0.8323 MB / 0.701 GB, free: 189.1 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.399e-05/0.5273, allocations: 0 / 0.701 GB, free: 189.1 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0008061/0.5281, allocations: 0.5699 MB / 0.7016 GB, free: 188.8 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001387/0.5295, allocations: 319.8 kB / 0.7019 GB, free: 188.7 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002645/0.5322, allocations: 1.6 MB / 0.7034 GB, free: 187.8 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/0.5325, allocations: 435 kB / 0.7039 GB, free: 187.7 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0007467/0.5333, allocations: 250.8 kB / 0.7041 GB, free: 187.7 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002503/0.5335, allocations: 108 kB / 0.7042 GB, free: 187.7 MB / 0.6355 GB Notification: Performance of SimCode: time 2.074e-06/0.5335, allocations: 1.094 kB / 0.7042 GB, free: 187.7 MB / 0.6355 GB Notification: Performance of Templates: time 0.02915/0.5627, allocations: 15.35 MB / 0.7192 GB, free: 185.7 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.330069178016856]