Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.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.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001633/0.001633, allocations: 182.9 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.7972/0.7972, allocations: 132.2 MB / 148.9 MB, free: 12.16 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.379/1.379, allocations: 222.9 MB / 403.4 MB, free: 7.082 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.0009963/0.0009962, allocations: 111.1 kB / 484.4 MB, free: 8.703 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001031/0.001031, allocations: 59.91 kB / 0.5618 GB, free: 71.05 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1343, allocations: 80.19 MB / 0.6402 GB, free: 6.785 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.006447/0.1408, allocations: 4.921 MB / 0.645 GB, free: 1.836 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.4606/0.6015, allocations: 148.6 MB / 0.7901 GB, free: 9.566 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001449/0.603, allocations: 19.94 kB / 0.7901 GB, free: 9.547 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0008874/0.6039, allocations: 149.7 kB / 0.7902 GB, free: 9.402 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.002183/0.6061, allocations: 0.4926 MB / 0.7907 GB, free: 8.93 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.002351/0.6085, allocations: 0.7747 MB / 0.7915 GB, free: 8.18 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001951/0.6105, allocations: 1.495 MB / 0.7929 GB, free: 6.68 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00168/0.6122, allocations: 1.033 MB / 0.7939 GB, free: 5.609 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001144/0.6133, allocations: 0.6107 MB / 0.7945 GB, free: 4.996 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001075/0.6144, allocations: 0.6889 MB / 0.7952 GB, free: 4.305 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0003569/0.6148, allocations: 104 kB / 0.7953 GB, free: 4.203 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001226/0.616, allocations: 447.6 kB / 0.7957 GB, free: 3.766 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0005359/0.6166, allocations: 346.6 kB / 0.7961 GB, free: 3.426 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0008534/0.6174, allocations: 0.7069 MB / 0.7967 GB, free: 2.715 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.002361/0.6198, allocations: 2.064 MB / 0.7988 GB, free: 0.6445 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.6198, allocations: 0 / 0.7988 GB, free: 0.6445 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.002e-06/0.6198, allocations: 0 / 0.7988 GB, free: 0.6445 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.233e-05/0.6199, allocations: 4 kB / 0.7988 GB, free: 0.6406 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: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.003687/0.6236, allocations: 1.775 MB / 0.8005 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.6236, allocations: 12.03 kB / 0.8005 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009779/0.6246, allocations: 234.9 kB / 0.8007 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001175/0.6258, allocations: 0.8878 MB / 0.8016 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.518e-05/0.6259, allocations: 102.9 kB / 0.8017 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001582/0.626, allocations: 136 kB / 0.8018 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002136/0.6282, allocations: 1.44 MB / 0.8032 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/0.6282, allocations: 0 / 0.8032 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001325/0.6284, allocations: 60 kB / 0.8033 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.601e-05/0.6284, allocations: 36 kB / 0.8033 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002322/0.6307, allocations: 1.517 MB / 0.8048 GB, free: 10.3 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005676/0.6364, allocations: 3.776 MB / 0.8085 GB, free: 6.445 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00157/0.638, allocations: 0.9588 MB / 0.8094 GB, free: 5.484 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006388/0.6387, allocations: 395.7 kB / 0.8098 GB, free: 5.094 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 9.047e-05/0.6388, allocations: 45.06 kB / 0.8098 GB, free: 5.051 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009666/0.6397, allocations: 0.5888 MB / 0.8104 GB, free: 4.445 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=104): time 3.747e-06/0.6397, allocations: 0 / 0.8104 GB, free: 4.445 MB / 0.5417 GB Notification: Performance of matching and sorting (n=104): time 0.003618/0.6434, allocations: 1.477 MB / 0.8119 GB, free: 2.941 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.983e-05/0.6435, allocations: 192.9 kB / 0.8121 GB, free: 2.711 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001015/0.6445, allocations: 0.759 MB / 0.8128 GB, free: 1.941 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 6.914e-05/0.6446, allocations: 45.7 kB / 0.8128 GB, free: 1.891 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004063/0.645, allocations: 0.5543 MB / 0.8134 GB, free: 1.328 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002616/0.6453, allocations: 347 kB / 0.8137 GB, free: 0.9844 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003285/0.6456, allocations: 218.7 kB / 0.8139 GB, free: 0.7656 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.6457, allocations: 349.9 kB / 0.8143 GB, free: 428 kB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006748/0.6464, allocations: 358.4 kB / 0.8146 GB, free: 68 kB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008004/0.6472, allocations: 470.2 kB / 0.815 GB, free: 15.59 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001487/0.6487, allocations: 0.8312 MB / 0.8159 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.6487, allocations: 0 / 0.8159 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002361/0.6511, allocations: 1.114 MB / 0.8169 GB, free: 13.62 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.6511, allocations: 8 kB / 0.8169 GB, free: 13.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.6511, allocations: 0 / 0.8169 GB, free: 13.62 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005903/0.6517, allocations: 88.77 kB / 0.817 GB, free: 13.53 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009282/0.6527, allocations: 224.9 kB / 0.8172 GB, free: 13.31 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001948/0.6546, allocations: 1.533 MB / 0.8187 GB, free: 11.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008301/0.6555, allocations: 111 kB / 0.8189 GB, free: 11.53 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.967e-05/0.6556, allocations: 55.97 kB / 0.8189 GB, free: 11.47 MB / 0.5573 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 (125): * Single equations (assignments): 124 * 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.0005176/0.6561, allocations: 314.2 kB / 0.8192 GB, free: 11.16 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002378/0.6564, allocations: 104.7 kB / 0.8193 GB, free: 11.05 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003165/0.6595, allocations: 1.386 MB / 0.8207 GB, free: 9.66 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/0.6596, allocations: 12 kB / 0.8207 GB, free: 9.648 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.6596, allocations: 4 kB / 0.8207 GB, free: 9.645 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.6596, allocations: 3.984 kB / 0.8207 GB, free: 9.641 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0043/0.6639, allocations: 2.567 MB / 0.8232 GB, free: 7.008 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.441e-06/0.6639, allocations: 0 / 0.8232 GB, free: 7.008 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008371/0.6648, allocations: 195.7 kB / 0.8234 GB, free: 6.816 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005638/0.6653, allocations: 84.77 kB / 0.8234 GB, free: 6.73 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.655e-05/0.6654, allocations: 23.98 kB / 0.8235 GB, free: 6.707 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002083/0.6675, allocations: 1.563 MB / 0.825 GB, free: 5 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/0.6676, allocations: 0 / 0.825 GB, free: 5 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003793/0.6714, allocations: 2.361 MB / 0.8273 GB, free: 2.578 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005128/0.6719, allocations: 319.4 kB / 0.8276 GB, free: 2.246 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001773/0.6721, allocations: 31.84 kB / 0.8276 GB, free: 2.215 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007364/0.6728, allocations: 69.92 kB / 0.8277 GB, free: 2.148 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001713/0.673, allocations: 72.89 kB / 0.8278 GB, free: 2.078 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.492e-05/0.6731, allocations: 39.98 kB / 0.8278 GB, free: 2.039 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0007355/0.6738, allocations: 0.5693 MB / 0.8284 GB, free: 1.473 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6738, allocations: 0 / 0.8284 GB, free: 1.473 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001159/0.675, allocations: 406.7 kB / 0.8288 GB, free: 1.074 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 (115): * Single equations (assignments): 112 * 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.001433/0.6764, allocations: 0.6114 MB / 0.8294 GB, free: 0.6445 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002027/0.6785, allocations: 1.038 MB / 0.8304 GB, free: 15.59 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.6785, allocations: 4.188 kB / 0.8304 GB, free: 15.59 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001063/0.6796, allocations: 0.6095 MB / 0.831 GB, free: 14.97 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001309/0.6809, allocations: 271.8 kB / 0.8312 GB, free: 14.71 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005451/0.6864, allocations: 3.543 MB / 0.8347 GB, free: 11.12 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007583/0.6871, allocations: 1.192 MB / 0.8359 GB, free: 9.898 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0009607/0.6881, allocations: 304.3 kB / 0.8361 GB, free: 9.598 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003828/0.6885, allocations: 131.4 kB / 0.8363 GB, free: 9.469 MB / 0.573 GB Notification: Performance of SimCode: time 4.61e-07/0.6885, allocations: 0 / 0.8363 GB, free: 9.469 MB / 0.573 GB Notification: Performance of Templates: time 0.02726/0.7158, allocations: 17.59 MB / 0.8534 GB, free: 7.992 MB / 0.5886 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)