Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.002034/0.002034, allocations: 93.47 kB / 19.44 MB, free: 332 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.001999/0.001999, 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.543/1.543, 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.313/1.313, allocations: 154.8 MB / 414.4 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.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 0.5198 GB, free: 2.344 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.227e-05/3.435e-05, allocations: 2.312 kB / 0.5198 GB, free: 2.34 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.008391/0.008425, allocations: 4.803 MB / 0.5245 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.2197/0.2281, allocations: 146.5 MB / 0.6676 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001288/0.2294, allocations: 23.81 kB / 0.6676 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001053/0.2304, allocations: 202.1 kB / 0.6678 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002765/0.2332, allocations: 0.6057 MB / 0.6684 GB, free: 9.867 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002844/0.236, allocations: 0.8647 MB / 0.6692 GB, free: 9 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.00263/0.2387, allocations: 1.506 MB / 0.6707 GB, free: 7.484 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001043/0.2397, allocations: 405.9 kB / 0.6711 GB, free: 7.07 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001572/0.2413, allocations: 0.7718 MB / 0.6718 GB, free: 6.297 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007047/0.242, allocations: 426.8 kB / 0.6723 GB, free: 5.879 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002073/0.2422, allocations: 120 kB / 0.6724 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001229/0.2434, allocations: 0.4954 MB / 0.6729 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003798/0.2438, allocations: 322.9 kB / 0.6732 GB, free: 4.949 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0005264/0.2443, allocations: 403 kB / 0.6735 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002676/0.247, allocations: 1.83 MB / 0.6753 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.247, allocations: 0 / 0.6753 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.874e-06/0.247, allocations: 4 kB / 0.6753 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.978e-05/0.247, allocations: 0 / 0.6753 GB, free: 2.715 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.003377/0.2504, allocations: 1.634 MB / 0.6769 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.2505, allocations: 8.031 kB / 0.6769 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001983/0.2524, allocations: 379.3 kB / 0.6773 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3154/0.5678, allocations: 0.7433 MB / 0.678 GB, free: 202.1 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.833e-05/0.5679, allocations: 74.09 kB / 0.6781 GB, free: 202.1 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002361/0.5682, allocations: 89 kB / 0.6782 GB, free: 202.1 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001997/0.5702, allocations: 1.25 MB / 0.6794 GB, free: 201.5 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3e-05/0.5702, allocations: 0.8438 kB / 0.6794 GB, free: 201.5 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.922e-05/0.5703, allocations: 38.38 kB / 0.6794 GB, free: 201.4 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.699e-05/0.5703, allocations: 22.22 kB / 0.6795 GB, free: 201.4 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001765/0.5721, allocations: 1.07 MB / 0.6805 GB, free: 201.2 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004884/0.577, allocations: 3.062 MB / 0.6835 GB, free: 199.5 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001333/0.5783, allocations: 0.7314 MB / 0.6842 GB, free: 199.2 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004999/0.5788, allocations: 268.9 kB / 0.6845 GB, free: 199.1 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001034/0.5789, allocations: 31.28 kB / 0.6845 GB, free: 199.1 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000975/0.5799, allocations: 0.6378 MB / 0.6851 GB, free: 198.8 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=88): time 2.705e-06/0.5799, allocations: 0 / 0.6851 GB, free: 198.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=88): time 0.003262/0.5832, allocations: 1.144 MB / 0.6862 GB, free: 198.4 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.892e-05/0.5832, allocations: 198.5 kB / 0.6864 GB, free: 198.2 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009561/0.5842, allocations: 0.7865 MB / 0.6872 GB, free: 197.8 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.814e-05/0.5843, allocations: 45.23 kB / 0.6872 GB, free: 197.8 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003694/0.5846, allocations: 0.5014 MB / 0.6877 GB, free: 197.4 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002389/0.5849, allocations: 310.5 kB / 0.688 GB, free: 197.2 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003114/0.5852, allocations: 212.8 kB / 0.6882 GB, free: 197.1 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002669/0.5855, allocations: 0.6175 MB / 0.6888 GB, free: 196.5 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004734/0.5859, allocations: 241.4 kB / 0.6891 GB, free: 196.5 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006515/0.5866, allocations: 0.5076 MB / 0.6896 GB, free: 196.1 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/0.5876, allocations: 0.5928 MB / 0.6901 GB, free: 195.9 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.5876, allocations: 0 / 0.6901 GB, free: 195.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002066/0.5897, allocations: 0.8751 MB / 0.691 GB, free: 195.6 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/0.5897, allocations: 9.344 kB / 0.691 GB, free: 195.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.5897, allocations: 2.562 kB / 0.691 GB, free: 195.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009918/0.5907, allocations: 139.2 kB / 0.6911 GB, free: 195.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006944/0.5914, allocations: 172.2 kB / 0.6913 GB, free: 195.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002138/0.5936, allocations: 2.025 MB / 0.6933 GB, free: 193.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007841/0.5943, allocations: 79.36 kB / 0.6933 GB, free: 193.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.13e-05/0.5944, allocations: 44.36 kB / 0.6934 GB, free: 193.6 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 (105): * Single equations (assignments): 104 * 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.0005416/0.595, allocations: 281.4 kB / 0.6937 GB, free: 193.3 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002475/0.5952, allocations: 119.7 kB / 0.6938 GB, free: 193.3 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002331/0.5975, allocations: 1.087 MB / 0.6948 GB, free: 192.9 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/0.5976, allocations: 13.06 kB / 0.6948 GB, free: 192.9 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.5976, allocations: 4.594 kB / 0.6949 GB, free: 192.9 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.5976, allocations: 3.469 kB / 0.6949 GB, free: 192.9 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.5986, allocations: 0.7939 MB / 0.6956 GB, free: 192.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.5986, allocations: 0 / 0.6956 GB, free: 192.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005828/0.5992, allocations: 159.3 kB / 0.6958 GB, free: 192.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007313/0.5999, allocations: 122.8 kB / 0.6959 GB, free: 192.5 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-05/0.6, allocations: 30.02 kB / 0.6959 GB, free: 192.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001739/0.6017, allocations: 2.06 MB / 0.6979 GB, free: 190.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.6018, allocations: 0 / 0.6979 GB, free: 190.5 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001903/0.6037, allocations: 0.9899 MB / 0.6989 GB, free: 190.1 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004453/0.6041, allocations: 211.8 kB / 0.6991 GB, free: 190 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/0.6042, allocations: 18.34 kB / 0.6991 GB, free: 190 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005161/0.6047, allocations: 54.84 kB / 0.6992 GB, free: 190 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001773/0.6049, allocations: 83.36 kB / 0.6993 GB, free: 190 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-05/0.605, allocations: 36.25 kB / 0.6993 GB, free: 190 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005596/0.6055, allocations: 0.5104 MB / 0.6998 GB, free: 189.7 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6055, allocations: 4.844 kB / 0.6998 GB, free: 189.7 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0009744/0.6065, allocations: 351 kB / 0.7001 GB, free: 189.7 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * 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.003295/0.6098, allocations: 0.6623 MB / 0.7008 GB, free: 189.5 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001691/0.6115, allocations: 0.8925 MB / 0.7016 GB, free: 189.1 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.6115, allocations: 2.672 kB / 0.7017 GB, free: 189.1 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0008917/0.6124, allocations: 0.597 MB / 0.7022 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.001384/0.6138, allocations: 332.4 kB / 0.7026 GB, free: 188.7 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002953/0.6167, allocations: 1.71 MB / 0.7042 GB, free: 187.8 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003971/0.6171, allocations: 453.4 kB / 0.7047 GB, free: 187.7 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0007406/0.6179, allocations: 261.5 kB / 0.7049 GB, free: 187.6 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002795/0.6182, allocations: 117 kB / 0.705 GB, free: 187.6 MB / 0.6355 GB Notification: Performance of SimCode: time 1.302e-06/0.6182, allocations: 0.6562 kB / 0.705 GB, free: 187.6 MB / 0.6355 GB Notification: Performance of Templates: time 0.0335/0.6517, allocations: 16.16 MB / 0.7208 GB, free: 185.2 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.255175224971026]