Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 182.6 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7354/0.7354, allocations: 132.2 MB / 148.9 MB, free: 12.15 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 222.9 MB / 403.3 MB, free: 7.121 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009981/0.0009981, allocations: 117.7 kB / 484.4 MB, free: 8.715 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 51.91 kB / 0.5618 GB, free: 71.07 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1656, allocations: 80.2 MB / 0.6402 GB, free: 6.797 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.007885/0.1735, allocations: 4.192 MB / 0.6443 GB, free: 2.578 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.4511/0.6247, allocations: 148.3 MB / 0.7891 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007731/0.6255, allocations: 15.69 kB / 0.7891 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0004864/0.626, allocations: 137.8 kB / 0.7893 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001362/0.6274, allocations: 422.8 kB / 0.7897 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001611/0.629, allocations: 0.6884 MB / 0.7903 GB, free: 9.387 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0009739/0.63, allocations: 1.137 MB / 0.7914 GB, free: 8.246 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007498/0.6308, allocations: 0.5951 MB / 0.792 GB, free: 7.629 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004368/0.6312, allocations: 398.3 kB / 0.7924 GB, free: 7.238 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000415/0.6316, allocations: 435 kB / 0.7928 GB, free: 6.812 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001001/0.6318, allocations: 52 kB / 0.7929 GB, free: 6.762 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007043/0.6325, allocations: 402 kB / 0.7933 GB, free: 6.371 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002009/0.6327, allocations: 219.1 kB / 0.7935 GB, free: 6.156 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0003462/0.633, allocations: 465.2 kB / 0.7939 GB, free: 5.699 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001278/0.6343, allocations: 1.414 MB / 0.7953 GB, free: 4.281 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.6343, allocations: 0 / 0.7953 GB, free: 4.281 MB / 0.5261 GB Notification: Performance of FrontEnd: time 7.52e-07/0.6343, allocations: 0 / 0.7953 GB, free: 4.281 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.108e-05/0.6343, allocations: 0 / 0.7953 GB, free: 4.281 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.002131/0.6365, allocations: 1.343 MB / 0.7966 GB, free: 2.887 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.6365, allocations: 16.02 kB / 0.7966 GB, free: 2.871 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008464/0.6374, allocations: 175.5 kB / 0.7968 GB, free: 2.699 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009835/0.6384, allocations: 0.7075 MB / 0.7975 GB, free: 1.945 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.151e-05/0.6384, allocations: 58 kB / 0.7975 GB, free: 1.891 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.888e-05/0.6386, allocations: 87.94 kB / 0.7976 GB, free: 1.805 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00145/0.64, allocations: 0.8911 MB / 0.7985 GB, free: 0.8711 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.64, allocations: 0 / 0.7985 GB, free: 0.8711 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.687e-05/0.6401, allocations: 32 kB / 0.7985 GB, free: 0.8398 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.762e-05/0.6401, allocations: 20 kB / 0.7985 GB, free: 0.8203 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001667/0.6418, allocations: 1.097 MB / 0.7996 GB, free: 15.72 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004051/0.6459, allocations: 2.505 MB / 0.802 GB, free: 13.15 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001249/0.6471, allocations: 0.7309 MB / 0.8028 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004803/0.6476, allocations: 286.7 kB / 0.803 GB, free: 12.13 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 8.499e-05/0.6477, allocations: 36.59 kB / 0.8031 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007649/0.6485, allocations: 442.4 kB / 0.8035 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=76): time 2.805e-06/0.6485, allocations: 4 kB / 0.8035 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of matching and sorting (n=76): time 0.003017/0.6515, allocations: 1.12 MB / 0.8046 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/0.6517, allocations: 188.6 kB / 0.8048 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007265/0.6524, allocations: 0.6056 MB / 0.8054 GB, free: 9.664 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.581e-05/0.6525, allocations: 41.7 kB / 0.8054 GB, free: 9.617 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002867/0.6528, allocations: 376.3 kB / 0.8058 GB, free: 9.242 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002009/0.653, allocations: 256.3 kB / 0.806 GB, free: 8.988 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002469/0.6532, allocations: 158.5 kB / 0.8062 GB, free: 8.828 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.6534, allocations: 382.8 kB / 0.8065 GB, free: 8.445 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004726/0.6539, allocations: 249.9 kB / 0.8068 GB, free: 8.199 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005658/0.6545, allocations: 339.1 kB / 0.8071 GB, free: 7.855 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/0.6555, allocations: 0.5955 MB / 0.8077 GB, free: 7.25 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.6555, allocations: 0 / 0.8077 GB, free: 7.25 MB / 0.5417 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001828/0.6574, allocations: 0.8175 MB / 0.8085 GB, free: 6.418 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.6574, allocations: 8 kB / 0.8085 GB, free: 6.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.6574, allocations: 0 / 0.8085 GB, free: 6.41 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005938/0.658, allocations: 76.84 kB / 0.8085 GB, free: 6.332 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000631/0.6587, allocations: 163.8 kB / 0.8087 GB, free: 6.172 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002012/0.6607, allocations: 1.517 MB / 0.8102 GB, free: 4.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006653/0.6614, allocations: 87.23 kB / 0.8103 GB, free: 4.434 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.715e-05/0.6614, allocations: 31.98 kB / 0.8103 GB, free: 4.402 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (89): * Single equations (assignments): 88 * 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.0004325/0.6619, allocations: 258.4 kB / 0.8105 GB, free: 4.141 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/0.662, allocations: 79.06 kB / 0.8106 GB, free: 4.062 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002329/0.6644, allocations: 1.033 MB / 0.8116 GB, free: 3.02 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.337e-06/0.6644, allocations: 8 kB / 0.8116 GB, free: 3.012 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.6644, allocations: 0 / 0.8116 GB, free: 3.012 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.799e-06/0.6644, allocations: 3.984 kB / 0.8116 GB, free: 3.008 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003214/0.6676, allocations: 1.876 MB / 0.8135 GB, free: 1.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.6677, allocations: 0 / 0.8135 GB, free: 1.07 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005711/0.6682, allocations: 151.8 kB / 0.8136 GB, free: 0.9219 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005128/0.6688, allocations: 80.77 kB / 0.8137 GB, free: 0.8398 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.347e-05/0.6688, allocations: 31.92 kB / 0.8137 GB, free: 0.8086 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001742/0.6706, allocations: 1.54 MB / 0.8152 GB, free: 15.13 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.6706, allocations: 5.953 kB / 0.8152 GB, free: 15.13 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002858/0.6735, allocations: 1.947 MB / 0.8171 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003652/0.6738, allocations: 255.8 kB / 0.8174 GB, free: 12.85 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.6739, allocations: 27.84 kB / 0.8174 GB, free: 12.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005568/0.6745, allocations: 52.5 kB / 0.8174 GB, free: 12.77 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.6746, allocations: 56.92 kB / 0.8175 GB, free: 12.72 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-05/0.6747, allocations: 43.97 kB / 0.8175 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0005347/0.6753, allocations: 435 kB / 0.818 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3e-07/0.6753, allocations: 0 / 0.818 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0009083/0.6762, allocations: 299.3 kB / 0.8182 GB, free: 11.96 MB / 0.5573 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.001263/0.6775, allocations: 0.5874 MB / 0.8188 GB, free: 11.55 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001515/0.679, allocations: 0.7888 MB / 0.8196 GB, free: 10.75 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.679, allocations: 0 / 0.8196 GB, free: 10.75 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0008267/0.6799, allocations: 0.4886 MB / 0.8201 GB, free: 10.25 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/0.681, allocations: 269.9 kB / 0.8203 GB, free: 9.992 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004158/0.6852, allocations: 2.53 MB / 0.8228 GB, free: 7.422 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000525/0.6857, allocations: 1.031 MB / 0.8238 GB, free: 6.367 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0009196/0.6866, allocations: 258.3 kB / 0.824 GB, free: 6.109 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002573/0.6869, allocations: 99.39 kB / 0.8241 GB, free: 6.012 MB / 0.5573 GB Notification: Performance of SimCode: time 7.11e-07/0.6869, allocations: 0 / 0.8241 GB, free: 6.012 MB / 0.5573 GB Notification: Performance of Templates: time 0.02142/0.7084, allocations: 13.94 MB / 0.8378 GB, free: 8.191 MB / 0.573 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)