Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.001006/0.001006, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0011/0.0011, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.381/1.381, allocations: 205.4 MB / 222.1 MB, free: 5.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3861/0.3861, allocations: 54.98 MB / 325.3 MB, free: 0.6992 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005106/0.0005107, allocations: 12 kB / 396.6 MB, free: 11.74 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.2889, allocations: 60.72 MB / 457.3 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.003552/0.2925, allocations: 3.316 MB / 460.6 MB, free: 38.03 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1457/0.4382, allocations: 127.2 MB / 0.574 GB, free: 4.832 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007147/0.439, allocations: 11.94 kB / 0.574 GB, free: 4.82 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003882/0.4394, allocations: 71.34 kB / 0.5741 GB, free: 4.75 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001299/0.4407, allocations: 410.4 kB / 0.5745 GB, free: 4.355 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001502/0.4422, allocations: 0.5889 MB / 0.5751 GB, free: 3.773 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009773/0.4432, allocations: 0.6778 MB / 0.5757 GB, free: 3.098 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006153/0.4438, allocations: 434.9 kB / 0.5761 GB, free: 2.672 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004221/0.4442, allocations: 302.8 kB / 0.5764 GB, free: 2.375 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003638/0.4446, allocations: 274.5 kB / 0.5767 GB, free: 2.105 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.455e-05/0.4447, allocations: 20 kB / 0.5767 GB, free: 2.086 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000626/0.4453, allocations: 271.7 kB / 0.577 GB, free: 1.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001665/0.4455, allocations: 152.3 kB / 0.5771 GB, free: 1.672 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001969/0.4457, allocations: 173.2 kB / 0.5773 GB, free: 1.496 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009709/0.4467, allocations: 0.9556 MB / 0.5782 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.4467, allocations: 0 / 0.5782 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4467, allocations: 3.938 kB / 0.5782 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.4467, allocations: 0 / 0.5782 GB, free: 0.5469 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.001869/0.4486, allocations: 1.075 MB / 0.5793 GB, free: 15.42 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.4486, allocations: 12.03 kB / 0.5793 GB, free: 15.41 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002006/0.4507, allocations: 313.2 kB / 0.5796 GB, free: 15.1 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/0.4517, allocations: 0.5985 MB / 0.5802 GB, free: 14.46 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.214e-05/0.4518, allocations: 59.41 kB / 0.5802 GB, free: 14.41 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.4519, allocations: 75.98 kB / 0.5803 GB, free: 14.33 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001613/0.4535, allocations: 0.8565 MB / 0.5811 GB, free: 13.45 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.4535, allocations: 5.656 kB / 0.5811 GB, free: 13.44 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.98e-05/0.4536, allocations: 32 kB / 0.5812 GB, free: 13.41 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.913e-05/0.4537, allocations: 16 kB / 0.5812 GB, free: 13.39 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002024/0.4557, allocations: 1.104 MB / 0.5822 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004081/0.4598, allocations: 2.347 MB / 0.5845 GB, free: 9.883 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001981/0.4618, allocations: 0.896 MB / 0.5854 GB, free: 8.969 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006567/0.4625, allocations: 474.1 kB / 0.5859 GB, free: 8.414 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001033/0.4635, allocations: 472.1 kB / 0.5863 GB, free: 7.93 MB / 462.1 MB Notification: Performance of pre-optimization done (n=73): time 2.535e-06/0.4635, allocations: 0 / 0.5863 GB, free: 7.93 MB / 462.1 MB Notification: Performance of matching and sorting (n=73): time 0.003413/0.4669, allocations: 1.165 MB / 0.5875 GB, free: 6.738 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.763e-05/0.467, allocations: 111.5 kB / 0.5876 GB, free: 6.605 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005867/0.4676, allocations: 0.4911 MB / 0.588 GB, free: 6.105 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.912e-05/0.4677, allocations: 41.7 kB / 0.5881 GB, free: 6.059 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002833/0.468, allocations: 328.5 kB / 0.5884 GB, free: 5.73 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001836/0.4682, allocations: 236.5 kB / 0.5886 GB, free: 5.496 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.154e-05/0.4682, allocations: 16 kB / 0.5886 GB, free: 5.48 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.4684, allocations: 370.7 kB / 0.589 GB, free: 5.109 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006299/0.4691, allocations: 245.2 kB / 0.5892 GB, free: 4.871 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006721/0.4697, allocations: 328.1 kB / 0.5895 GB, free: 4.531 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006753/0.4704, allocations: 287.1 kB / 0.5898 GB, free: 4.25 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.4704, allocations: 0.9375 kB / 0.5898 GB, free: 4.25 MB / 462.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002024/0.4725, allocations: 0.7666 MB / 0.5906 GB, free: 3.473 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.4725, allocations: 4 kB / 0.5906 GB, free: 3.469 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.4725, allocations: 4 kB / 0.5906 GB, free: 3.465 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005845/0.4731, allocations: 84.86 kB / 0.5906 GB, free: 3.379 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007646/0.4739, allocations: 151.8 kB / 0.5908 GB, free: 3.23 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002173/0.4761, allocations: 1.53 MB / 0.5923 GB, free: 1.562 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006493/0.4767, allocations: 87.48 kB / 0.5924 GB, free: 1.477 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7e-05/0.4768, allocations: 27.92 kB / 0.5924 GB, free: 1.449 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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.0004032/0.4772, allocations: 248.2 kB / 0.5926 GB, free: 1.199 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.97e-05/0.4773, allocations: 63.25 kB / 0.5927 GB, free: 1.137 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002656/0.48, allocations: 1.056 MB / 0.5937 GB, free: 84 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/0.48, allocations: 8 kB / 0.5937 GB, free: 76 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.48, allocations: 0 / 0.5937 GB, free: 76 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.4801, allocations: 7.984 kB / 0.5937 GB, free: 68 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003698/0.4838, allocations: 1.853 MB / 0.5955 GB, free: 14.16 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.4838, allocations: 0 / 0.5955 GB, free: 14.16 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007363/0.4845, allocations: 155.8 kB / 0.5957 GB, free: 14 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005065/0.485, allocations: 92.72 kB / 0.5958 GB, free: 13.91 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.562e-05/0.4851, allocations: 27.92 kB / 0.5958 GB, free: 13.88 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002071/0.4872, allocations: 1.55 MB / 0.5973 GB, free: 12.19 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.4872, allocations: 0 / 0.5973 GB, free: 12.19 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002425/0.4896, allocations: 0.9454 MB / 0.5982 GB, free: 11.23 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004665/0.4901, allocations: 271.7 kB / 0.5985 GB, free: 10.95 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.805e-05/0.4902, allocations: 20 kB / 0.5985 GB, free: 10.93 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005858/0.4908, allocations: 63.94 kB / 0.5986 GB, free: 10.86 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/0.491, allocations: 56.92 kB / 0.5986 GB, free: 10.81 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.82e-05/0.491, allocations: 31.98 kB / 0.5987 GB, free: 10.78 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004725/0.4915, allocations: 362.8 kB / 0.599 GB, free: 10.43 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4915, allocations: 0 / 0.599 GB, free: 10.43 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0009111/0.4924, allocations: 283.3 kB / 0.5993 GB, free: 10.15 MB / 478.1 MB 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.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim.tStart,weaDat.conTim1.tStart) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 80 * 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.001294/0.4938, allocations: 0.5757 MB / 0.5999 GB, free: 9.801 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001851/0.4956, allocations: 0.7824 MB / 0.6006 GB, free: 9.012 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.4956, allocations: 4 kB / 0.6006 GB, free: 9.008 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001058/0.4967, allocations: 0.5085 MB / 0.6011 GB, free: 8.484 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008722/0.4976, allocations: 201.7 kB / 0.6013 GB, free: 8.305 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00405/0.5016, allocations: 1.973 MB / 0.6032 GB, free: 6.305 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007169/0.5024, allocations: 0.9961 MB / 0.6042 GB, free: 5.281 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009988/0.5034, allocations: 242.9 kB / 0.6044 GB, free: 5.051 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002634/0.5037, allocations: 91.38 kB / 0.6045 GB, free: 4.961 MB / 478.1 MB Notification: Performance of SimCode: time 6.11e-07/0.5037, allocations: 0 / 0.6045 GB, free: 4.961 MB / 478.1 MB Notification: Performance of Templates: time 0.02165/0.5253, allocations: 11.57 MB / 0.6158 GB, free: 9.496 MB / 494.1 MB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) Environment - environmentSimulation: