Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001675/0.001675, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8873/0.8873, allocations: 132.2 MB / 148.9 MB, free: 12.13 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.56/1.56, allocations: 222.9 MB / 403.4 MB, free: 7.066 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 113.1 kB / 484.3 MB, free: 8.664 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001042/0.001042, allocations: 51.92 kB / 0.5618 GB, free: 71.01 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1263, allocations: 80.21 MB / 0.6402 GB, free: 6.73 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005472/0.1318, allocations: 4.157 MB / 0.6442 GB, free: 2.547 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.4128/0.5446, allocations: 148.2 MB / 0.7889 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007113/0.5453, allocations: 15.94 kB / 0.7889 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0005161/0.5458, allocations: 129.9 kB / 0.7891 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001301/0.5472, allocations: 400.2 kB / 0.7894 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001859/0.5491, allocations: 0.6855 MB / 0.7901 GB, free: 9.48 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001122/0.5502, allocations: 1.122 MB / 0.7912 GB, free: 8.355 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007687/0.551, allocations: 0.5966 MB / 0.7918 GB, free: 7.75 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005269/0.5515, allocations: 378.4 kB / 0.7921 GB, free: 7.379 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000426/0.5519, allocations: 422 kB / 0.7925 GB, free: 6.965 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001019/0.5521, allocations: 52 kB / 0.7926 GB, free: 6.914 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007303/0.5528, allocations: 400.1 kB / 0.793 GB, free: 6.527 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.000208/0.553, allocations: 223.1 kB / 0.7932 GB, free: 6.309 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0003683/0.5534, allocations: 457.3 kB / 0.7936 GB, free: 5.859 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001278/0.5547, allocations: 1.394 MB / 0.795 GB, free: 4.461 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.5547, allocations: 0 / 0.795 GB, free: 4.461 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5547, allocations: 0 / 0.795 GB, free: 4.461 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.818e-06/0.5547, allocations: 0 / 0.795 GB, free: 4.461 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002088/0.5568, allocations: 1.33 MB / 0.7963 GB, free: 3.074 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.5568, allocations: 8.031 kB / 0.7963 GB, free: 3.066 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008746/0.5577, allocations: 187 kB / 0.7965 GB, free: 2.887 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009389/0.5587, allocations: 0.7076 MB / 0.7972 GB, free: 2.137 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.683e-05/0.5587, allocations: 58 kB / 0.7972 GB, free: 2.078 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.09e-05/0.5588, allocations: 72 kB / 0.7973 GB, free: 2.008 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001355/0.5602, allocations: 0.8716 MB / 0.7981 GB, free: 1.098 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.5602, allocations: 0 / 0.7981 GB, free: 1.098 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.445e-05/0.5603, allocations: 39.94 kB / 0.7982 GB, free: 1.059 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.544e-05/0.5603, allocations: 23.94 kB / 0.7982 GB, free: 1.035 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001586/0.5619, allocations: 1.065 MB / 0.7992 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003508/0.5654, allocations: 2.382 MB / 0.8016 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001275/0.5667, allocations: 0.8029 MB / 0.8024 GB, free: 12.69 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004999/0.5672, allocations: 274.7 kB / 0.8026 GB, free: 12.42 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 8.019e-05/0.5673, allocations: 32.67 kB / 0.8026 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007341/0.5681, allocations: 426.8 kB / 0.8031 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=73): time 2.254e-06/0.5681, allocations: 4 kB / 0.8031 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of matching and sorting (n=73): time 0.002949/0.5711, allocations: 1.084 MB / 0.8041 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/0.5712, allocations: 192.6 kB / 0.8043 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006905/0.5719, allocations: 0.5861 MB / 0.8049 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.462e-05/0.5719, allocations: 37.7 kB / 0.8049 GB, free: 9.973 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002672/0.5722, allocations: 376.3 kB / 0.8053 GB, free: 9.598 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001713/0.5724, allocations: 248.5 kB / 0.8055 GB, free: 9.352 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002193/0.5726, allocations: 150.5 kB / 0.8056 GB, free: 9.199 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.5728, allocations: 374.8 kB / 0.806 GB, free: 8.824 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004571/0.5732, allocations: 241.9 kB / 0.8062 GB, free: 8.586 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000539/0.5738, allocations: 332 kB / 0.8066 GB, free: 8.246 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000976/0.5748, allocations: 0.5612 MB / 0.8071 GB, free: 7.672 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.5748, allocations: 0 / 0.8071 GB, free: 7.672 MB / 0.5417 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001789/0.5766, allocations: 0.7863 MB / 0.8079 GB, free: 6.871 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.5766, allocations: 8 kB / 0.8079 GB, free: 6.863 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.5766, allocations: 0 / 0.8079 GB, free: 6.863 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006069/0.5772, allocations: 84.89 kB / 0.808 GB, free: 6.777 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006282/0.5779, allocations: 151.7 kB / 0.8081 GB, free: 6.629 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00196/0.5798, allocations: 1.532 MB / 0.8096 GB, free: 4.965 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006154/0.5805, allocations: 76.64 kB / 0.8097 GB, free: 4.891 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.505e-05/0.5805, allocations: 36.05 kB / 0.8097 GB, free: 4.855 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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.0003864/0.5809, allocations: 254.3 kB / 0.8099 GB, free: 4.598 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001362/0.5811, allocations: 75.06 kB / 0.81 GB, free: 4.523 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002241/0.5833, allocations: 1.005 MB / 0.811 GB, free: 3.504 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.5833, allocations: 8 kB / 0.811 GB, free: 3.496 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.5834, allocations: 0 / 0.811 GB, free: 3.496 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/0.5834, allocations: 3.984 kB / 0.811 GB, free: 3.492 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003011/0.5864, allocations: 1.862 MB / 0.8128 GB, free: 1.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.758e-06/0.5864, allocations: 4 kB / 0.8128 GB, free: 1.566 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000551/0.587, allocations: 143.8 kB / 0.813 GB, free: 1.426 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005379/0.5875, allocations: 80.78 kB / 0.813 GB, free: 1.344 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.348e-05/0.5876, allocations: 33.17 kB / 0.8131 GB, free: 1.312 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001756/0.5893, allocations: 1.54 MB / 0.8146 GB, free: 15.63 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/0.5894, allocations: 12.08 kB / 0.8146 GB, free: 15.62 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002823/0.5922, allocations: 1.92 MB / 0.8165 GB, free: 13.64 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00035/0.5926, allocations: 255.8 kB / 0.8167 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.586e-05/0.5927, allocations: 19.94 kB / 0.8167 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005416/0.5932, allocations: 52.78 kB / 0.8168 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/0.5934, allocations: 68.91 kB / 0.8168 GB, free: 13.23 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.273e-05/0.5934, allocations: 35.92 kB / 0.8169 GB, free: 13.2 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004923/0.5939, allocations: 419.1 kB / 0.8173 GB, free: 12.8 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5939, allocations: 0 / 0.8173 GB, free: 12.8 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0009063/0.5948, allocations: 303.2 kB / 0.8176 GB, free: 12.5 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001352/0.5962, allocations: 0.588 MB / 0.8181 GB, free: 12.09 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0016/0.5978, allocations: 0.7537 MB / 0.8189 GB, free: 11.32 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.5978, allocations: 3.938 kB / 0.8189 GB, free: 11.32 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0008448/0.5987, allocations: 0.4888 MB / 0.8194 GB, free: 10.82 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/0.6, allocations: 264 kB / 0.8196 GB, free: 10.57 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004327/0.6043, allocations: 2.505 MB / 0.8221 GB, free: 8.023 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005788/0.6049, allocations: 1.027 MB / 0.8231 GB, free: 6.973 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008121/0.6057, allocations: 250.1 kB / 0.8233 GB, free: 6.727 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002305/0.606, allocations: 99.39 kB / 0.8234 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of SimCode: time 6.91e-07/0.606, allocations: 0 / 0.8234 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of Templates: time 0.02156/0.6275, allocations: 13.61 MB / 0.8367 GB, free: 9.141 MB / 0.573 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)