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.0009223/0.0009223, allocations: 92 kB / 15.06 MB, free: 1.098 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.001152/0.001152, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.248/1.248, allocations: 223.3 MB / 240 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7105/0.7105, allocations: 132.4 MB / 423.4 MB, free: 2.043 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002914/0.0002915, allocations: 10.12 kB / 0.5034 GB, free: 4.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3315, allocations: 81.57 MB / 0.5831 GB, free: 4.223 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.003424/0.335, allocations: 3.55 MB / 0.5865 GB, free: 1.68 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1339/0.4689, allocations: 136.7 MB / 0.72 GB, free: 4.102 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007872/0.4697, allocations: 19.88 kB / 0.72 GB, free: 4.082 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000471/0.4702, allocations: 127 kB / 0.7202 GB, free: 3.957 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001134/0.4713, allocations: 388.9 kB / 0.7205 GB, free: 3.582 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001385/0.4727, allocations: 0.6068 MB / 0.7211 GB, free: 2.98 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001018/0.4738, allocations: 1.024 MB / 0.7221 GB, free: 1.953 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006198/0.4744, allocations: 463.1 kB / 0.7226 GB, free: 1.496 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004274/0.4748, allocations: 302.6 kB / 0.7229 GB, free: 1.199 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000369/0.4752, allocations: 310.4 kB / 0.7232 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.872e-05/0.4753, allocations: 20 kB / 0.7232 GB, free: 0.875 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005755/0.4759, allocations: 339.6 kB / 0.7235 GB, free: 0.543 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001627/0.476, allocations: 163.3 kB / 0.7237 GB, free: 392 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001521/0.4762, allocations: 181.1 kB / 0.7238 GB, free: 204 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009555/0.4772, allocations: 1.068 MB / 0.7249 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.4772, allocations: 4 kB / 0.7249 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.262e-06/0.4772, allocations: 0 / 0.7249 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.318e-05/0.4772, allocations: 0 / 0.7249 GB, free: 15.12 MB / 0.5606 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.001746/0.479, allocations: 1.136 MB / 0.726 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.479, allocations: 12.03 kB / 0.726 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007939/0.4798, allocations: 190.5 kB / 0.7262 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008851/0.4807, allocations: 0.6797 MB / 0.7268 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.844e-05/0.4807, allocations: 58 kB / 0.7269 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.228e-05/0.4808, allocations: 80 kB / 0.727 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001329/0.4822, allocations: 0.8715 MB / 0.7278 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.4822, allocations: 0 / 0.7278 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.046e-05/0.4823, allocations: 32 kB / 0.7279 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.588e-05/0.4823, allocations: 20 kB / 0.7279 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001547/0.4839, allocations: 1.073 MB / 0.7289 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003268/0.4871, allocations: 2.412 MB / 0.7313 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00119/0.4883, allocations: 0.8025 MB / 0.7321 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004509/0.4888, allocations: 286.6 kB / 0.7323 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.323e-05/0.4889, allocations: 36.67 kB / 0.7324 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006795/0.4896, allocations: 424.4 kB / 0.7328 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 1.803e-06/0.4896, allocations: 3.938 kB / 0.7328 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.002577/0.4922, allocations: 1.096 MB / 0.7338 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.43e-05/0.4923, allocations: 188.6 kB / 0.734 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006105/0.4929, allocations: 0.5783 MB / 0.7346 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.859e-05/0.4929, allocations: 37.7 kB / 0.7346 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002431/0.4932, allocations: 388.2 kB / 0.735 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001608/0.4933, allocations: 236.5 kB / 0.7352 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.712e-05/0.4934, allocations: 16 kB / 0.7352 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.4935, allocations: 378.8 kB / 0.7356 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004337/0.494, allocations: 237.9 kB / 0.7358 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005024/0.4945, allocations: 340 kB / 0.7362 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004848/0.495, allocations: 278.9 kB / 0.7364 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.495, allocations: 0 / 0.7364 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00159/0.4966, allocations: 0.7941 MB / 0.7372 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.4966, allocations: 4 kB / 0.7372 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.4966, allocations: 4 kB / 0.7372 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000518/0.4971, allocations: 80.91 kB / 0.7373 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005908/0.4977, allocations: 151.8 kB / 0.7374 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001693/0.4994, allocations: 1.516 MB / 0.7389 GB, free: 256 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005239/0.5, allocations: 90.05 kB / 0.739 GB, free: 168 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.45e-05/0.5001, allocations: 35.97 kB / 0.739 GB, free: 132 kB / 0.5606 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 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000317/0.5004, allocations: 257.6 kB / 0.7393 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.891e-05/0.5005, allocations: 75.06 kB / 0.7393 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00208/0.5026, allocations: 1.013 MB / 0.7403 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.5026, allocations: 11.98 kB / 0.7403 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.5026, allocations: 3.984 kB / 0.7403 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.268e-06/0.5026, allocations: 3.984 kB / 0.7403 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002719/0.5053, allocations: 1.869 MB / 0.7422 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.5054, allocations: 4 kB / 0.7422 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005476/0.5059, allocations: 147.8 kB / 0.7423 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004351/0.5064, allocations: 84.77 kB / 0.7424 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.662e-05/0.5064, allocations: 23.98 kB / 0.7424 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00153/0.508, allocations: 1.54 MB / 0.7439 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.508, allocations: 0 / 0.7439 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001585/0.5096, allocations: 0.9218 MB / 0.7448 GB, free: 9.934 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000296/0.5099, allocations: 271.8 kB / 0.7451 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.425e-05/0.51, allocations: 23.94 kB / 0.7451 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005081/0.5105, allocations: 63.95 kB / 0.7452 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.5106, allocations: 60.91 kB / 0.7452 GB, free: 9.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-05/0.5107, allocations: 31.98 kB / 0.7453 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004457/0.5111, allocations: 427 kB / 0.7457 GB, free: 9.059 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5111, allocations: 3.938 kB / 0.7457 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006906/0.5118, allocations: 291.2 kB / 0.7459 GB, free: 8.77 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001177/0.513, allocations: 0.5858 MB / 0.7465 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001307/0.5143, allocations: 0.761 MB / 0.7473 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.5143, allocations: 0 / 0.7473 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007684/0.5151, allocations: 0.4965 MB / 0.7477 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.5161, allocations: 244.4 kB / 0.748 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003546/0.5197, allocations: 2.05 MB / 0.75 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005055/0.5202, allocations: 1.004 MB / 0.751 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007571/0.521, allocations: 262 kB / 0.7512 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002386/0.5212, allocations: 95.38 kB / 0.7513 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of SimCode: time 3.91e-07/0.5212, allocations: 0 / 0.7513 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of Templates: time 0.01974/0.541, allocations: 12.79 MB / 0.7638 GB, free: 6.816 MB / 0.5919 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)