Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7679/0.7679, allocations: 140.1 MB / 156 MB, free: 5.152 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.001178/0.001177, allocations: 181.6 kB / 188.5 MB, free: 15.81 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.848/1.848, allocations: 205.4 MB / 426.3 MB, free: 8.438 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.0007878/0.0007881, allocations: 98.34 kB / 0.4945 GB, free: 8.383 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001772/0.001773, allocations: 280.3 kB / 0.5729 GB, free: 66.2 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000506/0.0005059, allocations: 16 kB / 0.662 GB, free: 6.805 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4476/0.4481, allocations: 79.31 MB / 0.7395 GB, free: 46.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.332/4.78, allocations: 2.042 GB / 2.781 GB, free: 167.7 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/4.78, allocations: 95.94 kB / 2.781 GB, free: 167.6 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.1225/4.903, allocations: 59.29 MB / 2.839 GB, free: 108 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.724e-06/4.903, allocations: 0 / 2.839 GB, free: 108 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 8.899e-05/4.903, allocations: 27.94 kB / 2.839 GB, free: 107.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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002244/4.905, allocations: 1.136 MB / 2.84 GB, free: 106.7 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/4.905, allocations: 8.031 kB / 2.84 GB, free: 106.7 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009904/4.906, allocations: 183.5 kB / 2.841 GB, free: 106.5 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/4.907, allocations: 0.6278 MB / 2.841 GB, free: 105.9 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.581e-05/4.907, allocations: 62.38 kB / 2.841 GB, free: 105.8 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/4.907, allocations: 80.36 kB / 2.841 GB, free: 105.7 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001349/4.909, allocations: 0.8564 MB / 2.842 GB, free: 104.8 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/4.909, allocations: 192 / 2.842 GB, free: 104.8 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.588e-05/4.909, allocations: 39.94 kB / 2.842 GB, free: 104.8 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/4.909, allocations: 20 kB / 2.842 GB, free: 104.8 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001487/4.91, allocations: 1.065 MB / 2.843 GB, free: 103.7 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003309/4.914, allocations: 2.387 MB / 2.846 GB, free: 101.3 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/4.915, allocations: 0.8012 MB / 2.846 GB, free: 100.4 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004254/4.915, allocations: 286.6 kB / 2.847 GB, free: 100.2 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 7.725e-05/4.915, allocations: 40.61 kB / 2.847 GB, free: 100.1 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006189/4.916, allocations: 427.3 kB / 2.847 GB, free: 99.68 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=73): time 2.625e-06/4.916, allocations: 0 / 2.847 GB, free: 99.68 MB / 0.6667 GB Notification: Performance of matching and sorting (n=73): time 0.002693/4.919, allocations: 1.104 MB / 2.848 GB, free: 98.55 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.999e-05/4.919, allocations: 244 kB / 2.848 GB, free: 98.25 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008016/4.92, allocations: 0.633 MB / 2.849 GB, free: 97.61 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.718e-05/4.92, allocations: 41.7 kB / 2.849 GB, free: 97.56 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002233/4.92, allocations: 364.4 kB / 2.849 GB, free: 97.2 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001475/4.92, allocations: 244.4 kB / 2.85 GB, free: 96.95 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.83e-05/4.92, allocations: 12 kB / 2.85 GB, free: 96.94 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.104e-05/4.92, allocations: 382.8 kB / 2.85 GB, free: 96.56 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003779/4.921, allocations: 221.2 kB / 2.85 GB, free: 96.34 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004393/4.921, allocations: 335.6 kB / 2.851 GB, free: 95.99 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008712/4.922, allocations: 0.523 MB / 2.851 GB, free: 95.46 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/4.922, allocations: 0 / 2.851 GB, free: 95.46 MB / 0.6667 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001579/4.924, allocations: 0.7276 MB / 2.852 GB, free: 94.72 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/4.924, allocations: 11.92 kB / 2.852 GB, free: 94.71 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.046e-06/4.924, allocations: 0 / 2.852 GB, free: 94.71 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005696/4.924, allocations: 88.78 kB / 2.852 GB, free: 94.62 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005389/4.925, allocations: 135.8 kB / 2.852 GB, free: 94.48 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001718/4.927, allocations: 1.514 MB / 2.853 GB, free: 92.82 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005753/4.927, allocations: 75.44 kB / 2.854 GB, free: 92.75 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.816e-05/4.927, allocations: 27.97 kB / 2.854 GB, free: 92.72 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 (75): * Single equations (assignments): 74 * 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.0004888/4.928, allocations: 249.8 kB / 2.854 GB, free: 92.47 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001715/4.928, allocations: 83 kB / 2.854 GB, free: 92.39 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002138/4.93, allocations: 1.025 MB / 2.855 GB, free: 91.35 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.777e-06/4.93, allocations: 8 kB / 2.855 GB, free: 91.34 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/4.93, allocations: 0 / 2.855 GB, free: 91.34 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.487e-06/4.93, allocations: 3.984 kB / 2.855 GB, free: 91.34 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003046/4.933, allocations: 1.915 MB / 2.857 GB, free: 89.36 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/4.933, allocations: 0 / 2.857 GB, free: 89.36 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005307/4.934, allocations: 143.8 kB / 2.857 GB, free: 89.22 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000528/4.934, allocations: 88.78 kB / 2.857 GB, free: 89.13 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.215e-05/4.934, allocations: 19.98 kB / 2.857 GB, free: 89.11 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001425/4.936, allocations: 1.544 MB / 2.858 GB, free: 87.43 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/4.936, allocations: 7.969 kB / 2.859 GB, free: 87.42 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001586/4.937, allocations: 0.9219 MB / 2.859 GB, free: 86.48 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004118/4.938, allocations: 280 kB / 2.86 GB, free: 86.19 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001821/4.938, allocations: 19.94 kB / 2.86 GB, free: 86.17 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00059/4.939, allocations: 71.92 kB / 2.86 GB, free: 86.1 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/4.939, allocations: 64.86 kB / 2.86 GB, free: 86.03 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.529e-05/4.939, allocations: 31.97 kB / 2.86 GB, free: 86 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.000554/4.939, allocations: 479 kB / 2.86 GB, free: 85.54 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.21e-07/4.939, allocations: 0 / 2.86 GB, free: 85.54 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001024/4.94, allocations: 339.1 kB / 2.861 GB, free: 85.21 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.001893/4.942, allocations: 1.026 MB / 2.862 GB, free: 84.3 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001366/4.944, allocations: 0.716 MB / 2.862 GB, free: 83.57 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/4.944, allocations: 4.125 kB / 2.862 GB, free: 83.56 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0007649/4.944, allocations: 0.4924 MB / 2.863 GB, free: 83.06 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/4.946, allocations: 249.9 kB / 2.863 GB, free: 82.82 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003635/4.949, allocations: 2.075 MB / 2.865 GB, free: 80.71 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004412/4.95, allocations: 0.9996 MB / 2.866 GB, free: 79.68 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0009096/4.951, allocations: 253.9 kB / 2.866 GB, free: 79.43 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002346/4.951, allocations: 99.38 kB / 2.866 GB, free: 79.33 MB / 0.6667 GB Notification: Performance of SimCode: time 1.052e-06/4.951, allocations: 0 / 2.866 GB, free: 79.33 MB / 0.6667 GB Notification: Performance of Templates: time 0.02988/4.981, allocations: 20.16 MB / 2.886 GB, free: 59.25 MB / 0.6667 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)