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.0009026/0.0009026, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.0009561/0.0009561, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.028/1.028, allocations: 177.1 MB / 204.5 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7782/0.7782, allocations: 154.9 MB / 415.9 MB, free: 252 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 179] 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 1.453e-06/1.453e-06, allocations: 0 / 0.5219 GB, free: 1.547 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.645e-05/2.79e-05, allocations: 4.703 kB / 0.5219 GB, free: 1.543 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.007537/0.007565, allocations: 4.752 MB / 0.5265 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.1392/0.1468, allocations: 144 MB / 0.6672 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007031/0.1475, allocations: 23.81 kB / 0.6672 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005297/0.148, allocations: 206 kB / 0.6674 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001427/0.1495, allocations: 0.6134 MB / 0.668 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001429/0.1509, allocations: 0.8725 MB / 0.6688 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001237/0.1521, allocations: 1.506 MB / 0.6703 GB, free: 9.176 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005611/0.1527, allocations: 397.9 kB / 0.6707 GB, free: 8.77 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009104/0.1536, allocations: 0.8107 MB / 0.6715 GB, free: 7.957 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004459/0.154, allocations: 398.8 kB / 0.6719 GB, free: 7.566 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001256/0.1542, allocations: 112 kB / 0.672 GB, free: 7.457 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006857/0.1549, allocations: 495.3 kB / 0.6724 GB, free: 6.973 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001985/0.1551, allocations: 306.9 kB / 0.6727 GB, free: 6.672 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0005746/0.1556, allocations: 379 kB / 0.6731 GB, free: 6.301 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001272/0.1569, allocations: 1.273 MB / 0.6743 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1569, allocations: 0 / 0.6743 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.844e-06/0.1569, allocations: 0 / 0.6743 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.831e-05/0.1569, allocations: 4 kB / 0.6743 GB, free: 5.02 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.001638/0.1586, allocations: 1.552 MB / 0.6759 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.479e-05/0.1586, allocations: 8.031 kB / 0.6759 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/0.1597, allocations: 379.4 kB / 0.6762 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007286/0.1604, allocations: 0.7226 MB / 0.6769 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.575e-05/0.1605, allocations: 70.12 kB / 0.677 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.462e-05/0.1605, allocations: 91.98 kB / 0.6771 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007936/0.1613, allocations: 0.9085 MB / 0.678 GB, free: 1.125 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.1613, allocations: 0 / 0.678 GB, free: 1.125 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.672e-05/0.1614, allocations: 36 kB / 0.678 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/0.1614, allocations: 24 kB / 0.678 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006927/0.1621, allocations: 0.704 MB / 0.6787 GB, free: 368 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2767/0.4388, allocations: 2.19 MB / 0.6809 GB, free: 58.09 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005975/0.4394, allocations: 455.3 kB / 0.6813 GB, free: 58.05 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/0.4396, allocations: 157.2 kB / 0.6814 GB, free: 58.04 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.087e-05/0.4397, allocations: 31.48 kB / 0.6815 GB, free: 58.04 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003838/0.44, allocations: 490.1 kB / 0.6819 GB, free: 57.83 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=88): time 2.214e-06/0.44, allocations: 0 / 0.6819 GB, free: 57.83 MB / 0.6355 GB Notification: Performance of matching and sorting (n=88): time 0.001425/0.4415, allocations: 0.7982 MB / 0.6827 GB, free: 57.73 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.4415, allocations: 189.7 kB / 0.6829 GB, free: 57.51 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003596/0.4419, allocations: 0.5777 MB / 0.6835 GB, free: 57.33 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.72e-05/0.4419, allocations: 41.45 kB / 0.6835 GB, free: 57.3 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/0.4421, allocations: 473 kB / 0.684 GB, free: 57.09 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.4422, allocations: 302.9 kB / 0.6842 GB, free: 56.93 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001643/0.4424, allocations: 190.8 kB / 0.6844 GB, free: 56.9 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.297e-05/0.4425, allocations: 0.5657 MB / 0.685 GB, free: 56.41 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.4426, allocations: 112.1 kB / 0.6851 GB, free: 56.41 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000218/0.4428, allocations: 359.2 kB / 0.6854 GB, free: 56.18 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003638/0.4432, allocations: 355.1 kB / 0.6858 GB, free: 56.12 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.4432, allocations: 0.625 kB / 0.6858 GB, free: 56.12 MB / 0.6355 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0008284/0.444, allocations: 0.6245 MB / 0.6864 GB, free: 56 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.444, allocations: 5.312 kB / 0.6864 GB, free: 56 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.4441, allocations: 1.688 kB / 0.6864 GB, free: 56 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004311/0.4445, allocations: 132.5 kB / 0.6865 GB, free: 55.99 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003653/0.4448, allocations: 177.1 kB / 0.6867 GB, free: 55.99 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009853/0.4458, allocations: 1.877 MB / 0.6885 GB, free: 54.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003194/0.4462, allocations: 84.39 kB / 0.6886 GB, free: 54.23 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.266e-05/0.4462, allocations: 30.23 kB / 0.6886 GB, free: 54.23 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.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,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.000183/0.4464, allocations: 212.2 kB / 0.6888 GB, free: 54.07 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.4465, allocations: 116.5 kB / 0.6889 GB, free: 54.03 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001057/0.4476, allocations: 0.8441 MB / 0.6898 GB, free: 53.93 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.4476, allocations: 8.812 kB / 0.6898 GB, free: 53.93 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.4476, allocations: 0.6875 kB / 0.6898 GB, free: 53.93 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.4476, allocations: 4.625 kB / 0.6898 GB, free: 53.93 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004573/0.448, allocations: 0.5001 MB / 0.6903 GB, free: 53.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.448, allocations: 0.7188 kB / 0.6903 GB, free: 53.79 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003046/0.4483, allocations: 152.2 kB / 0.6904 GB, free: 53.79 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003467/0.4487, allocations: 115.6 kB / 0.6905 GB, free: 53.78 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.982e-05/0.4487, allocations: 34.8 kB / 0.6906 GB, free: 53.78 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008043/0.4495, allocations: 1.888 MB / 0.6924 GB, free: 52.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4495, allocations: 1.422 kB / 0.6924 GB, free: 52.05 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008156/0.4503, allocations: 0.7304 MB / 0.6931 GB, free: 51.88 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002056/0.4505, allocations: 197.4 kB / 0.6933 GB, free: 51.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.537e-05/0.4506, allocations: 26.09 kB / 0.6933 GB, free: 51.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002368/0.4509, allocations: 42.41 kB / 0.6934 GB, free: 51.83 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.017e-05/0.4509, allocations: 78.31 kB / 0.6934 GB, free: 51.83 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.159e-05/0.451, allocations: 36.69 kB / 0.6935 GB, free: 51.82 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001958/0.4512, allocations: 377.4 kB / 0.6938 GB, free: 51.69 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.4512, allocations: 0.875 kB / 0.6938 GB, free: 51.69 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006262/0.4518, allocations: 344.8 kB / 0.6942 GB, free: 51.66 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.001207/0.453, allocations: 0.6283 MB / 0.6948 GB, free: 51.55 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006614/0.4537, allocations: 0.6232 MB / 0.6954 GB, free: 51.35 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4537, allocations: 3.875 kB / 0.6954 GB, free: 51.35 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003513/0.454, allocations: 464.3 kB / 0.6958 GB, free: 51.16 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006391/0.4547, allocations: 328.2 kB / 0.6961 GB, free: 51.13 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001951/0.4566, allocations: 1.576 MB / 0.6977 GB, free: 50.41 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001026/0.4567, allocations: 198.6 kB / 0.6979 GB, free: 50.33 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004002/0.4571, allocations: 196 kB / 0.6981 GB, free: 50.29 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005297/0.4577, allocations: 371 kB / 0.6984 GB, free: 50.22 MB / 0.6355 GB Notification: Performance of SimCode: time 8.41e-07/0.4577, allocations: 0 / 0.6984 GB, free: 50.22 MB / 0.6355 GB Notification: Performance of Templates: time 0.02126/0.4789, allocations: 17.5 MB / 0.7155 GB, free: 48.62 MB / 0.6355 GB " [Timeout remaining time 660] 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: 4.842139499727637]