Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7689/0.7689, allocations: 140 MB / 156 MB, free: 5.168 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009821/0.0009822, allocations: 174.1 kB / 188.5 MB, free: 15.83 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.547/1.547, allocations: 205.4 MB / 426.3 MB, free: 8.457 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007944/0.0007946, allocations: 97.39 kB / 0.4945 GB, free: 8.41 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.00165/0.00165, allocations: 266.4 kB / 0.5728 GB, free: 66.24 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000495/0.0004948, allocations: 20 kB / 0.662 GB, free: 6.816 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4116/0.4121, allocations: 79.3 MB / 0.7395 GB, free: 46.38 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.843/5.255, allocations: 2.043 GB / 2.782 GB, free: 166 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003247/5.256, allocations: 99.95 kB / 2.782 GB, free: 165.9 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.1285/5.384, allocations: 59.68 MB / 2.841 GB, free: 105.9 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.687e-06/5.384, allocations: 0 / 2.841 GB, free: 105.9 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001106/5.384, allocations: 20 kB / 2.841 GB, free: 105.9 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.002802/5.387, allocations: 1.152 MB / 2.842 GB, free: 104.7 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/5.387, allocations: 12.03 kB / 2.842 GB, free: 104.7 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001154/5.388, allocations: 187.5 kB / 2.842 GB, free: 104.5 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001391/5.39, allocations: 0.6355 MB / 2.843 GB, free: 103.8 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.931e-05/5.39, allocations: 58.38 kB / 2.843 GB, free: 103.8 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001779/5.39, allocations: 80.38 kB / 2.843 GB, free: 103.7 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001669/5.392, allocations: 0.8721 MB / 2.844 GB, free: 102.8 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.964e-05/5.392, allocations: 4.188 kB / 2.844 GB, free: 102.8 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.854e-05/5.392, allocations: 35.94 kB / 2.844 GB, free: 102.7 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.293e-05/5.392, allocations: 20 kB / 2.844 GB, free: 102.7 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001656/5.394, allocations: 1.1 MB / 2.845 GB, free: 101.6 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005157/5.399, allocations: 2.422 MB / 2.847 GB, free: 99.12 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001606/5.4, allocations: 0.7415 MB / 2.848 GB, free: 98.37 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005608/5.401, allocations: 286.7 kB / 2.848 GB, free: 98.09 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001114/5.401, allocations: 32.61 kB / 2.848 GB, free: 98.05 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009067/5.402, allocations: 451.2 kB / 2.849 GB, free: 97.59 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=76): time 7.444e-06/5.402, allocations: 0 / 2.849 GB, free: 97.59 MB / 0.6667 GB Notification: Performance of matching and sorting (n=76): time 0.003463/5.406, allocations: 1.139 MB / 2.85 GB, free: 96.43 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001893/5.406, allocations: 244 kB / 2.85 GB, free: 96.13 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001368/5.407, allocations: 0.6485 MB / 2.851 GB, free: 95.47 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001163/5.407, allocations: 45.64 kB / 2.851 GB, free: 95.42 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004794/5.408, allocations: 376.3 kB / 2.851 GB, free: 95.05 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002636/5.408, allocations: 248.4 kB / 2.851 GB, free: 94.8 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-05/5.408, allocations: 12 kB / 2.851 GB, free: 94.79 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002145/5.408, allocations: 382.8 kB / 2.852 GB, free: 94.41 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005124/5.409, allocations: 229.2 kB / 2.852 GB, free: 94.18 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006497/5.41, allocations: 355.6 kB / 2.852 GB, free: 93.81 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/5.411, allocations: 0.5542 MB / 2.853 GB, free: 93.25 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/5.411, allocations: 0 / 2.853 GB, free: 93.25 MB / 0.6667 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002124/5.413, allocations: 0.7549 MB / 2.853 GB, free: 92.48 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.346e-05/5.413, allocations: 4 kB / 2.853 GB, free: 92.48 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.975e-05/5.413, allocations: 3.938 kB / 2.853 GB, free: 92.47 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006607/5.414, allocations: 84.83 kB / 2.854 GB, free: 92.39 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006538/5.414, allocations: 147.8 kB / 2.854 GB, free: 92.24 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002576/5.417, allocations: 1.52 MB / 2.855 GB, free: 90.57 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008123/5.418, allocations: 83.34 kB / 2.855 GB, free: 90.49 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.24e-05/5.418, allocations: 23.98 kB / 2.855 GB, free: 90.47 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * 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.0007963/5.419, allocations: 264.5 kB / 2.855 GB, free: 90.2 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002665/5.419, allocations: 79.06 kB / 2.856 GB, free: 90.12 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002561/5.421, allocations: 1.034 MB / 2.857 GB, free: 89.08 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/5.421, allocations: 8 kB / 2.857 GB, free: 89.07 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/5.421, allocations: 0 / 2.857 GB, free: 89.07 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/5.421, allocations: 7.922 kB / 2.857 GB, free: 89.06 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00377/5.425, allocations: 1.937 MB / 2.858 GB, free: 87.06 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/5.425, allocations: 0 / 2.858 GB, free: 87.06 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005394/5.426, allocations: 143.8 kB / 2.859 GB, free: 86.92 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004565/5.426, allocations: 92.69 kB / 2.859 GB, free: 86.83 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.023e-05/5.426, allocations: 23.98 kB / 2.859 GB, free: 86.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001536/5.428, allocations: 1.536 MB / 2.86 GB, free: 85.13 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/5.428, allocations: 0 / 2.86 GB, free: 85.13 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001633/5.43, allocations: 0.9375 MB / 2.861 GB, free: 84.17 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004305/5.43, allocations: 287.8 kB / 2.861 GB, free: 83.87 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001454/5.43, allocations: 27.88 kB / 2.861 GB, free: 83.84 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000583/5.431, allocations: 63.95 kB / 2.862 GB, free: 83.78 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001528/5.431, allocations: 64.91 kB / 2.862 GB, free: 83.72 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.17e-05/5.431, allocations: 27.98 kB / 2.862 GB, free: 83.69 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0006088/5.432, allocations: 495 kB / 2.862 GB, free: 83.21 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.5e-07/5.432, allocations: 0 / 2.862 GB, free: 83.21 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001129/5.433, allocations: 327.2 kB / 2.862 GB, free: 82.89 MB / 0.6667 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 (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.002021/5.435, allocations: 1.021 MB / 2.863 GB, free: 81.98 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001458/5.436, allocations: 0.7511 MB / 2.864 GB, free: 81.21 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/5.436, allocations: 4.125 kB / 2.864 GB, free: 81.21 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0007781/5.437, allocations: 0.4886 MB / 2.865 GB, free: 80.71 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001217/5.438, allocations: 260.3 kB / 2.865 GB, free: 80.46 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003932/5.442, allocations: 2.093 MB / 2.867 GB, free: 78.34 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000513/5.443, allocations: 1.007 MB / 2.868 GB, free: 77.3 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0009456/5.444, allocations: 258.2 kB / 2.868 GB, free: 77.04 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002532/5.444, allocations: 95.39 kB / 2.868 GB, free: 76.95 MB / 0.6667 GB Notification: Performance of SimCode: time 1.022e-06/5.444, allocations: 0 / 2.868 GB, free: 76.95 MB / 0.6667 GB Notification: Performance of Templates: time 0.03291/5.477, allocations: 20.4 MB / 2.888 GB, free: 56.62 MB / 0.6667 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)