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.0007961/0.0007961, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.00532/0.00532, allocations: 172.3 kB / 16.26 MB, free: 6.613 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.375/1.375, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8163/0.8163, allocations: 132.4 MB / 423.8 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000329/0.0003289, allocations: 8.781 kB / 0.504 GB, free: 3.918 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4728/0.4732, allocations: 81.58 MB / 0.5837 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.004517/0.4777, allocations: 3.751 MB / 0.5873 GB, free: 1.328 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1662/0.644, allocations: 146.6 MB / 0.7305 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007456/0.6448, allocations: 15.94 kB / 0.7305 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004975/0.6453, allocations: 142.9 kB / 0.7306 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001294/0.6466, allocations: 392.8 kB / 0.731 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001786/0.6484, allocations: 0.6911 MB / 0.7317 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001351/0.6498, allocations: 1.109 MB / 0.7327 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008948/0.6507, allocations: 0.5825 MB / 0.7333 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005763/0.6513, allocations: 302.5 kB / 0.7336 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004376/0.6517, allocations: 334 kB / 0.7339 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.023e-05/0.6518, allocations: 20 kB / 0.7339 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007611/0.6526, allocations: 367.5 kB / 0.7343 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001728/0.6527, allocations: 175.2 kB / 0.7345 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003359/0.6531, allocations: 419 kB / 0.7349 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001342/0.6544, allocations: 1.351 MB / 0.7362 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.6544, allocations: 0 / 0.7362 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of FrontEnd: time 4.278e-06/0.6545, allocations: 3.984 kB / 0.7362 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.632e-05/0.6545, allocations: 0 / 0.7362 GB, free: 3.746 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.002059/0.6565, allocations: 1.132 MB / 0.7373 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.6566, allocations: 8.031 kB / 0.7373 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008966/0.6575, allocations: 187.5 kB / 0.7375 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000993/0.6585, allocations: 0.7034 MB / 0.7382 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.251e-05/0.6586, allocations: 62 kB / 0.7382 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.6587, allocations: 79.98 kB / 0.7383 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/0.6602, allocations: 0.8715 MB / 0.7391 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.6602, allocations: 0 / 0.7391 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-05/0.6603, allocations: 36 kB / 0.7392 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.796e-05/0.6603, allocations: 20 kB / 0.7392 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001662/0.662, allocations: 1.077 MB / 0.7402 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003735/0.6657, allocations: 2.415 MB / 0.7426 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001358/0.6671, allocations: 0.8026 MB / 0.7434 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005109/0.6676, allocations: 286.7 kB / 0.7437 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.914e-05/0.6677, allocations: 40.66 kB / 0.7437 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007942/0.6685, allocations: 439.1 kB / 0.7441 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=73): time 2.195e-06/0.6685, allocations: 0 / 0.7441 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73): time 0.003128/0.6717, allocations: 1.088 MB / 0.7452 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.6718, allocations: 192.6 kB / 0.7454 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000728/0.6725, allocations: 0.5822 MB / 0.7459 GB, free: 9.422 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.917e-05/0.6726, allocations: 41.7 kB / 0.746 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000303/0.6729, allocations: 380.3 kB / 0.7463 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001918/0.6731, allocations: 244.4 kB / 0.7466 GB, free: 8.754 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.8e-05/0.6732, allocations: 65.67 kB / 0.7466 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001664/0.6734, allocations: 374.8 kB / 0.747 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004805/0.6739, allocations: 241.9 kB / 0.7472 GB, free: 8.074 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005797/0.6745, allocations: 340 kB / 0.7475 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/0.6755, allocations: 0.5729 MB / 0.7481 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.6755, allocations: 4 kB / 0.7481 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001799/0.6773, allocations: 0.7903 MB / 0.7489 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.6773, allocations: 8.125 kB / 0.7489 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.6774, allocations: 3.938 kB / 0.7489 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000618/0.678, allocations: 92.7 kB / 0.749 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006401/0.6786, allocations: 147.8 kB / 0.7491 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002027/0.6807, allocations: 1.516 MB / 0.7506 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006612/0.6814, allocations: 90.27 kB / 0.7507 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.2e-05/0.6814, allocations: 35.97 kB / 0.7507 GB, free: 4.309 MB / 0.5762 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.0004465/0.6819, allocations: 253.8 kB / 0.751 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.682, allocations: 79.06 kB / 0.751 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00232/0.6843, allocations: 1.006 MB / 0.752 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.6844, allocations: 8 kB / 0.752 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/0.6844, allocations: 3.938 kB / 0.752 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.6844, allocations: 7.969 kB / 0.752 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003106/0.6875, allocations: 1.873 MB / 0.7539 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.6875, allocations: 0 / 0.7539 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005735/0.6881, allocations: 151.7 kB / 0.754 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005224/0.6886, allocations: 84.72 kB / 0.7541 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.424e-05/0.6887, allocations: 27.97 kB / 0.7541 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001794/0.6905, allocations: 1.548 MB / 0.7556 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.6905, allocations: 0 / 0.7556 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001812/0.6923, allocations: 0.9297 MB / 0.7565 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003372/0.6927, allocations: 267.7 kB / 0.7568 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.717e-05/0.6928, allocations: 19.98 kB / 0.7568 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005862/0.6934, allocations: 63.95 kB / 0.7569 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/0.6935, allocations: 68.84 kB / 0.7569 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.924e-05/0.6936, allocations: 27.98 kB / 0.757 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005154/0.6941, allocations: 427 kB / 0.7574 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.71e-07/0.6941, allocations: 4 kB / 0.7574 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008961/0.695, allocations: 287.4 kB / 0.7577 GB, free: 12.95 MB / 0.5919 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.001299/0.6963, allocations: 0.5979 MB / 0.7582 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001521/0.6979, allocations: 0.7689 MB / 0.759 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.6979, allocations: 4 kB / 0.759 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008802/0.6988, allocations: 0.4924 MB / 0.7595 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001254/0.7, allocations: 264.2 kB / 0.7597 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00399/0.704, allocations: 2.12 MB / 0.7618 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005788/0.7046, allocations: 1.004 MB / 0.7628 GB, free: 7.836 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008461/0.7055, allocations: 242.2 kB / 0.763 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002331/0.7057, allocations: 107.4 kB / 0.7631 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of SimCode: time 6.01e-07/0.7057, allocations: 0 / 0.7631 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of Templates: time 0.02214/0.7279, allocations: 13.19 MB / 0.776 GB, free: 10.48 MB / 0.6075 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)