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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005439/0.005439, allocations: 104.2 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 191.4 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7713/0.7713, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 63.08 kB / 0.5813 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1889/0.1901, allocations: 80.21 MB / 0.6597 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.008217/0.1984, allocations: 4.146 MB / 0.6637 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1813/0.3798, allocations: 150.5 MB / 0.8107 GB, free: 2.281 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009847/0.3809, allocations: 19.88 kB / 0.8107 GB, free: 2.262 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0008051/0.3817, allocations: 162.5 kB / 0.8108 GB, free: 2.102 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002013/0.3838, allocations: 489.8 kB / 0.8113 GB, free: 1.625 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002262/0.386, allocations: 0.7993 MB / 0.8121 GB, free: 0.832 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.4447/0.8307, allocations: 1.195 MB / 0.8133 GB, free: 4.039 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001159/0.8319, allocations: 0.601 MB / 0.8138 GB, free: 3.977 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007785/0.8327, allocations: 443.8 kB / 0.8143 GB, free: 3.977 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006039/0.8333, allocations: 447.4 kB / 0.8147 GB, free: 3.977 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001642/0.8335, allocations: 105.7 kB / 0.8148 GB, free: 3.977 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000989/0.8345, allocations: 477.6 kB / 0.8152 GB, free: 3.977 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002649/0.8348, allocations: 270 kB / 0.8155 GB, free: 3.977 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005316/0.8353, allocations: 0.4942 MB / 0.816 GB, free: 3.977 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002809/0.8381, allocations: 1.482 MB / 0.8174 GB, free: 3.938 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.902e-06/0.8381, allocations: 4.625 kB / 0.8174 GB, free: 3.938 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.294e-06/0.8382, allocations: 0 / 0.8174 GB, free: 3.938 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.061e-05/0.8382, allocations: 1.062 kB / 0.8174 GB, free: 3.938 MB / 0.6387 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.002816/0.841, allocations: 1.327 MB / 0.8187 GB, free: 3.215 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/0.8411, allocations: 8.844 kB / 0.8187 GB, free: 3.215 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009758/0.8421, allocations: 179.3 kB / 0.8189 GB, free: 3.16 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001335/0.8434, allocations: 0.7229 MB / 0.8196 GB, free: 2.859 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.574e-05/0.8435, allocations: 63.53 kB / 0.8197 GB, free: 2.855 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001451/0.8436, allocations: 76.8 kB / 0.8198 GB, free: 2.855 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002156/0.8458, allocations: 0.8691 MB / 0.8206 GB, free: 2.707 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.994e-05/0.8458, allocations: 0.9375 kB / 0.8206 GB, free: 2.707 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001135/0.846, allocations: 37.47 kB / 0.8206 GB, free: 2.707 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.584e-05/0.846, allocations: 19.78 kB / 0.8207 GB, free: 2.707 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002286/0.8483, allocations: 1.064 MB / 0.8217 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004376/0.8527, allocations: 2.354 MB / 0.824 GB, free: 1.949 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/0.8542, allocations: 0.801 MB / 0.8248 GB, free: 1.824 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004999/0.8547, allocations: 281.7 kB / 0.825 GB, free: 1.812 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 9.888e-05/0.8548, allocations: 32.14 kB / 0.8251 GB, free: 1.812 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008367/0.8556, allocations: 427.3 kB / 0.8255 GB, free: 1.742 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=73): time 2.996e-06/0.8556, allocations: 1.766 kB / 0.8255 GB, free: 1.742 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73): time 0.003132/0.8588, allocations: 1.084 MB / 0.8265 GB, free: 1.547 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.102e-05/0.8589, allocations: 188.5 kB / 0.8267 GB, free: 1.328 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000983/0.8599, allocations: 0.5812 MB / 0.8273 GB, free: 1.207 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.97e-05/0.86, allocations: 41.86 kB / 0.8273 GB, free: 1.176 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003286/0.8603, allocations: 378.9 kB / 0.8277 GB, free: 0.9922 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000259/0.8606, allocations: 245.4 kB / 0.8279 GB, free: 0.8438 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003176/0.8609, allocations: 151.4 kB / 0.8281 GB, free: 0.8203 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.8611, allocations: 383 kB / 0.8284 GB, free: 0.5078 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005741/0.8617, allocations: 234 kB / 0.8287 GB, free: 0.5078 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007204/0.8624, allocations: 338.6 kB / 0.829 GB, free: 464 kB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001218/0.8636, allocations: 0.5614 MB / 0.8295 GB, free: 400 kB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.221e-06/0.8636, allocations: 2.25 kB / 0.8295 GB, free: 400 kB / 0.6387 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002286/0.8659, allocations: 0.7844 MB / 0.8303 GB, free: 16.29 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/0.866, allocations: 6.625 kB / 0.8303 GB, free: 16.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.866, allocations: 1.344 kB / 0.8303 GB, free: 16.29 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000603/0.8666, allocations: 81.12 kB / 0.8304 GB, free: 16.29 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006341/0.8672, allocations: 160.4 kB / 0.8305 GB, free: 16.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002341/0.8696, allocations: 1.63 MB / 0.8321 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009708/0.8706, allocations: 78.41 kB / 0.8322 GB, free: 14.87 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.311e-05/0.8707, allocations: 35.75 kB / 0.8322 GB, free: 14.87 MB / 0.6544 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.0006684/0.8714, allocations: 249.7 kB / 0.8325 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002104/0.8716, allocations: 78.72 kB / 0.8325 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002601/0.8742, allocations: 1.003 MB / 0.8335 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/0.8742, allocations: 7.906 kB / 0.8335 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.8742, allocations: 1.531 kB / 0.8335 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.462e-05/0.8742, allocations: 5.516 kB / 0.8335 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003488/0.8777, allocations: 1.86 MB / 0.8354 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.308e-06/0.8778, allocations: 4 kB / 0.8354 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000528/0.8783, allocations: 152.9 kB / 0.8355 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004138/0.8787, allocations: 72.61 kB / 0.8356 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.492e-05/0.8788, allocations: 24.89 kB / 0.8356 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001983/0.8808, allocations: 1.649 MB / 0.8372 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.8808, allocations: 3.562 kB / 0.8372 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001946/0.8828, allocations: 0.917 MB / 0.8381 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004182/0.8832, allocations: 260.3 kB / 0.8384 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.8833, allocations: 22.41 kB / 0.8384 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005384/0.8839, allocations: 59.75 kB / 0.8384 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/0.884, allocations: 61.64 kB / 0.8385 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.425e-05/0.8841, allocations: 27.72 kB / 0.8385 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006088/0.8847, allocations: 433.9 kB / 0.8389 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8847, allocations: 0 / 0.8389 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001144/0.8859, allocations: 284.9 kB / 0.8392 GB, free: 12.35 MB / 0.6544 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.001583/0.8874, allocations: 0.6029 MB / 0.8398 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001605/0.8891, allocations: 0.7661 MB / 0.8405 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.8891, allocations: 0 / 0.8405 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008295/0.8899, allocations: 497.1 kB / 0.841 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.8911, allocations: 282.5 kB / 0.8413 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003616/0.8947, allocations: 1.658 MB / 0.8429 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006068/0.8954, allocations: 0.9996 MB / 0.8439 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0008196/0.8962, allocations: 258.5 kB / 0.8441 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002229/0.8964, allocations: 98.5 kB / 0.8442 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of SimCode: time 8.02e-07/0.8964, allocations: 0 / 0.8442 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of Templates: time 0.02453/0.921, allocations: 13.95 MB / 0.8578 GB, free: 9.734 MB / 0.6544 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)