Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.561/1.561, allocations: 297.8 MB / 313.7 MB, free: 84 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008931/0.0008931, allocations: 176.5 kB / 384.6 MB, free: 10.81 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.275/1.275, allocations: 223.2 MB / 0.6626 GB, free: 4.352 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008024/0.0008023, allocations: 99.27 kB / 0.7808 GB, free: 43.59 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000383/0.0003831, allocations: 12 kB / 0.9088 GB, free: 0.6719 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5161/0.5165, allocations: 120.3 MB / 1.026 GB, free: 56.75 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1635/0.68, allocations: 148.4 MB / 1.171 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000224/0.6803, allocations: 83.89 kB / 1.171 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.05298/0.7333, allocations: 18.47 MB / 1.189 GB, free: 7.352 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.933e-06/0.7333, allocations: 0 / 1.189 GB, free: 7.352 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.086e-05/0.7334, allocations: 12 kB / 1.189 GB, free: 7.34 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.001902/0.7353, allocations: 0.8768 MB / 1.19 GB, free: 6.406 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.7353, allocations: 8.031 kB / 1.19 GB, free: 6.398 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000166/0.7355, allocations: 80 kB / 1.19 GB, free: 6.32 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00132/0.7368, allocations: 0.593 MB / 1.191 GB, free: 5.684 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.853e-05/0.7369, allocations: 45.69 kB / 1.191 GB, free: 5.641 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.453e-05/0.737, allocations: 64.38 kB / 1.191 GB, free: 5.578 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.7381, allocations: 0.6582 MB / 1.192 GB, free: 4.902 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.042e-05/0.7382, allocations: 4.125 kB / 1.192 GB, free: 4.898 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.238e-05/0.7382, allocations: 35.92 kB / 1.192 GB, free: 4.863 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.529e-05/0.7382, allocations: 16 kB / 1.192 GB, free: 4.848 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009511/0.7392, allocations: 0.5197 MB / 1.192 GB, free: 4.328 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003031/0.7422, allocations: 1.982 MB / 1.194 GB, free: 2.281 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002976/0.7452, allocations: 0.9109 MB / 1.195 GB, free: 1.336 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004794/0.7457, allocations: 289.4 kB / 1.195 GB, free: 1.043 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 5.908e-05/0.7458, allocations: 31.84 kB / 1.195 GB, free: 1.012 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.7458, allocations: 38.56 kB / 1.195 GB, free: 0.9648 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=72): time 3.186e-06/0.7458, allocations: 0 / 1.195 GB, free: 0.9648 MB / 0.7605 GB Notification: Performance of matching and sorting (n=72): time 0.001522/0.7474, allocations: 0.77 MB / 1.196 GB, free: 196 kB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.47e-05/0.7474, allocations: 144.5 kB / 1.196 GB, free: 20 kB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004351/0.7479, allocations: 373.6 kB / 1.197 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.49e-05/0.7479, allocations: 37.7 kB / 1.197 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.7481, allocations: 232.9 kB / 1.197 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.000174/0.7482, allocations: 240.4 kB / 1.197 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.752e-05/0.7483, allocations: 16 kB / 1.197 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.7484, allocations: 354.8 kB / 1.197 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003887/0.7488, allocations: 193.2 kB / 1.198 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000418/0.7493, allocations: 241.9 kB / 1.198 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008714/0.7502, allocations: 478.2 kB / 1.198 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.7502, allocations: 4 kB / 1.198 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001093/0.7513, allocations: 0.5869 MB / 1.199 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.7513, allocations: 4 kB / 1.199 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.7513, allocations: 0 / 1.199 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.7513, allocations: 4 kB / 1.199 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006061/0.7519, allocations: 143.8 kB / 1.199 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.513e-05/0.752, allocations: 7.938 kB / 1.199 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000512/0.7525, allocations: 75.39 kB / 1.199 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.387e-05/0.7525, allocations: 27.97 kB / 1.199 GB, free: 13 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (proShaLenNor.solAzi.outsidePolarCircle,proShaLenWes.solAzi.outsidePolarCircle,proShaLenSou.solAzi.outsidePolarCircle,proShaLenEas.solAzi.outsidePolarCircle) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002655/0.7528, allocations: 195.2 kB / 1.199 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/0.753, allocations: 47.44 kB / 1.199 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001885/0.7549, allocations: 0.9829 MB / 1.2 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.394e-05/0.7549, allocations: 12 kB / 1.2 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.7549, allocations: 7.938 kB / 1.2 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.338e-05/0.7549, allocations: 7.984 kB / 1.2 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.756, allocations: 0.7464 MB / 1.201 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/0.756, allocations: 0 / 1.201 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007433/0.7567, allocations: 195.7 kB / 1.201 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-05/0.7568, allocations: 4 kB / 1.201 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.086e-05/0.7568, allocations: 27.98 kB / 1.201 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/0.7568, allocations: 7.938 kB / 1.201 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.195e-06/0.7568, allocations: 3.938 kB / 1.201 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001362/0.7582, allocations: 1.086 MB / 1.202 GB, free: 9.598 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000291/0.7585, allocations: 240 kB / 1.203 GB, free: 9.344 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.572e-05/0.7586, allocations: 20 kB / 1.203 GB, free: 9.324 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004652/0.7591, allocations: 27.92 kB / 1.203 GB, free: 9.297 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.874e-05/0.7592, allocations: 79.83 kB / 1.203 GB, free: 9.219 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.703e-05/0.7592, allocations: 31.98 kB / 1.203 GB, free: 9.188 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002889/0.7595, allocations: 279.2 kB / 1.203 GB, free: 8.914 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7595, allocations: 0 / 1.203 GB, free: 8.914 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0008345/0.7604, allocations: 239.4 kB / 1.203 GB, free: 8.68 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 112 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006517/0.761, allocations: 318.8 kB / 1.203 GB, free: 8.41 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001073/0.7621, allocations: 0.5855 MB / 1.204 GB, free: 7.828 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.7621, allocations: 0 / 1.204 GB, free: 7.828 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.000578/0.7627, allocations: 392.9 kB / 1.204 GB, free: 7.445 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006284/0.7634, allocations: 57.56 kB / 1.205 GB, free: 7.387 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002191/0.7656, allocations: 1.521 MB / 1.206 GB, free: 5.832 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004576/0.766, allocations: 0.9184 MB / 1.207 GB, free: 4.883 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0004577/0.7665, allocations: 120.8 kB / 1.207 GB, free: 4.766 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002166/0.7667, allocations: 91.38 kB / 1.207 GB, free: 4.676 MB / 0.7761 GB Notification: Performance of SimCode: time 3.8e-07/0.7667, allocations: 0 / 1.207 GB, free: 4.676 MB / 0.7761 GB Notification: Performance of Templates: time 0.01236/0.7791, allocations: 6.914 MB / 1.214 GB, free: 13.8 MB / 0.7917 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe 2>&1)