Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009629/0.0009628, allocations: 100.3 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.001005/0.001005, allocations: 177.3 kB / 15.95 MB, free: 216 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.391/1.391, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3882/0.3882, allocations: 54.99 MB / 325.4 MB, free: 0.7305 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.0005313/0.0005314, allocations: 12 kB / 396.6 MB, free: 11.78 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3276, allocations: 60.73 MB / 457.3 MB, free: 38.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.003517/0.3312, allocations: 3.316 MB / 460.6 MB, free: 38.35 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1516/0.4828, allocations: 127.2 MB / 0.574 GB, free: 4.98 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005675/0.4835, allocations: 11.94 kB / 0.574 GB, free: 4.969 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003536/0.4838, allocations: 75.33 kB / 0.5741 GB, free: 4.895 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001184/0.485, allocations: 390 kB / 0.5745 GB, free: 4.516 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001628/0.4867, allocations: 0.5845 MB / 0.575 GB, free: 3.938 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001152/0.4878, allocations: 0.6894 MB / 0.5757 GB, free: 3.25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006486/0.4885, allocations: 427 kB / 0.5761 GB, free: 2.832 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004887/0.489, allocations: 290.8 kB / 0.5764 GB, free: 2.547 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000334/0.4893, allocations: 278.5 kB / 0.5767 GB, free: 2.273 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.517e-05/0.4894, allocations: 20 kB / 0.5767 GB, free: 2.254 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006619/0.4901, allocations: 275.6 kB / 0.5769 GB, free: 1.984 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001785/0.4903, allocations: 147.4 kB / 0.5771 GB, free: 1.84 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001517/0.4904, allocations: 173.2 kB / 0.5772 GB, free: 1.664 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001023/0.4915, allocations: 0.9752 MB / 0.5782 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.4915, allocations: 0 / 0.5782 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.4915, allocations: 1.312 kB / 0.5782 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.166e-05/0.4915, allocations: 0 / 0.5782 GB, free: 0.6992 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.001842/0.4933, allocations: 1.072 MB / 0.5792 GB, free: 15.58 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.4934, allocations: 15.97 kB / 0.5793 GB, free: 15.56 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002079/0.4955, allocations: 326.2 kB / 0.5796 GB, free: 15.25 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009685/0.4965, allocations: 0.6096 MB / 0.5802 GB, free: 14.59 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.165e-05/0.4965, allocations: 58 kB / 0.5802 GB, free: 14.54 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.4966, allocations: 72 kB / 0.5803 GB, free: 14.47 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001689/0.4983, allocations: 0.872 MB / 0.5811 GB, free: 13.57 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.4984, allocations: 1.719 kB / 0.5811 GB, free: 13.57 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.357e-05/0.4985, allocations: 32 kB / 0.5812 GB, free: 13.54 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-05/0.4985, allocations: 20 kB / 0.5812 GB, free: 13.52 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002143/0.5007, allocations: 1.12 MB / 0.5823 GB, free: 12.4 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004247/0.505, allocations: 2.378 MB / 0.5846 GB, free: 9.953 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002691/0.5077, allocations: 0.9104 MB / 0.5855 GB, free: 9.043 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006208/0.5083, allocations: 474.2 kB / 0.5859 GB, free: 8.488 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001054/0.5094, allocations: 489.7 kB / 0.5864 GB, free: 7.988 MB / 462.1 MB Notification: Performance of pre-optimization done (n=73): time 2.695e-06/0.5094, allocations: 0 / 0.5864 GB, free: 7.988 MB / 462.1 MB Notification: Performance of matching and sorting (n=73): time 0.003493/0.5129, allocations: 1.196 MB / 0.5876 GB, free: 6.766 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.692e-05/0.513, allocations: 119.5 kB / 0.5877 GB, free: 6.625 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006373/0.5136, allocations: 0.4911 MB / 0.5882 GB, free: 6.125 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.045e-05/0.5137, allocations: 42.27 kB / 0.5882 GB, free: 6.078 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002556/0.514, allocations: 332.5 kB / 0.5885 GB, free: 5.746 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002215/0.5142, allocations: 248.4 kB / 0.5888 GB, free: 5.5 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.952e-05/0.5143, allocations: 12 kB / 0.5888 GB, free: 5.488 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.5144, allocations: 366.7 kB / 0.5891 GB, free: 5.121 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006776/0.5151, allocations: 261.1 kB / 0.5894 GB, free: 4.867 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007351/0.5159, allocations: 340.9 kB / 0.5897 GB, free: 4.516 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007217/0.5166, allocations: 295.1 kB / 0.59 GB, free: 4.227 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.5166, allocations: 0 / 0.59 GB, free: 4.227 MB / 462.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002154/0.5188, allocations: 0.794 MB / 0.5908 GB, free: 3.422 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.5188, allocations: 8 kB / 0.5908 GB, free: 3.414 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.118e-06/0.5188, allocations: 0 / 0.5908 GB, free: 3.414 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005751/0.5194, allocations: 84.86 kB / 0.5909 GB, free: 3.328 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007535/0.5202, allocations: 159.7 kB / 0.591 GB, free: 3.172 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002037/0.5222, allocations: 1.541 MB / 0.5925 GB, free: 1.492 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006491/0.5229, allocations: 84.56 kB / 0.5926 GB, free: 1.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.957e-05/0.523, allocations: 31.92 kB / 0.5926 GB, free: 1.379 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.0004006/0.5234, allocations: 249 kB / 0.5929 GB, free: 1.129 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.5235, allocations: 71.16 kB / 0.5929 GB, free: 1.059 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002705/0.5262, allocations: 1.058 MB / 0.594 GB, free: 0 / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.5262, allocations: 12.05 kB / 0.594 GB, free: 15.98 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.5263, allocations: 4 kB / 0.594 GB, free: 15.98 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.5263, allocations: 3.938 kB / 0.594 GB, free: 15.98 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009408/0.5272, allocations: 0.8125 MB / 0.5948 GB, free: 15.12 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.5272, allocations: 0 / 0.5948 GB, free: 15.12 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007462/0.528, allocations: 159.8 kB / 0.5949 GB, free: 14.96 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004978/0.5285, allocations: 84.77 kB / 0.595 GB, free: 14.88 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.97e-05/0.5285, allocations: 20.67 kB / 0.595 GB, free: 14.86 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001843/0.5304, allocations: 1.574 MB / 0.5966 GB, free: 13.15 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.5304, allocations: 0 / 0.5966 GB, free: 13.15 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002202/0.5326, allocations: 0.9 MB / 0.5974 GB, free: 12.23 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004095/0.533, allocations: 267.9 kB / 0.5977 GB, free: 11.95 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.966e-05/0.5332, allocations: 16 kB / 0.5977 GB, free: 11.93 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006158/0.5338, allocations: 71.89 kB / 0.5978 GB, free: 11.86 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.5339, allocations: 56.92 kB / 0.5978 GB, free: 11.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.854e-05/0.534, allocations: 31.98 kB / 0.5979 GB, free: 11.77 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004401/0.5344, allocations: 358.8 kB / 0.5982 GB, free: 11.42 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.5344, allocations: 0 / 0.5982 GB, free: 11.42 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008055/0.5352, allocations: 283.2 kB / 0.5985 GB, free: 11.14 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.conTim1.tStart,weaDat.conTim.tStart) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * 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.00129/0.5365, allocations: 0.5848 MB / 0.599 GB, free: 10.79 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001979/0.5385, allocations: 0.806 MB / 0.5998 GB, free: 9.977 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.5386, allocations: 0 / 0.5998 GB, free: 9.977 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001139/0.5397, allocations: 0.5124 MB / 0.6003 GB, free: 9.457 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008265/0.5405, allocations: 181.4 kB / 0.6005 GB, free: 9.285 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004075/0.5446, allocations: 1.983 MB / 0.6024 GB, free: 7.277 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000569/0.5452, allocations: 0.9921 MB / 0.6034 GB, free: 6.262 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001061/0.5463, allocations: 244 kB / 0.6036 GB, free: 6.031 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002599/0.5466, allocations: 91.38 kB / 0.6037 GB, free: 5.941 MB / 478.1 MB Notification: Performance of SimCode: time 8.42e-07/0.5466, allocations: 0 / 0.6037 GB, free: 5.941 MB / 478.1 MB Notification: Performance of Templates: time 0.0204/0.567, allocations: 11.83 MB / 0.6153 GB, free: 10.21 MB / 494.1 MB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) Environment - environmentSimulation: