Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.496/2.496, allocations: 285 MB / 292.5 MB, free: 10.51 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001501/0.001501, allocations: 196.2 kB / 360.8 MB, free: 7.223 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.073/2.073, allocations: 205.3 MB / 0.6192 GB, free: 12.15 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001445/0.001445, allocations: 91.55 kB / 0.7322 GB, free: 44.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.925e-05/1.94e-05, allocations: 4 kB / 0.8509 GB, free: 3.363 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8527/0.8527, allocations: 115.2 MB / 0.9634 GB, free: 78.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.126/6.979, allocations: 2.074 GB / 3.037 GB, free: 45.69 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003407/6.979, allocations: 90.03 kB / 3.037 GB, free: 45.64 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.9846/7.964, allocations: 81.59 MB / 3.117 GB, free: 319.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.924e-06/7.964, allocations: 0 / 3.117 GB, free: 319.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001278/7.964, allocations: 30.34 kB / 3.117 GB, free: 319.1 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 304 * Number of variables: 304 Notification: Performance of Generate backend data structure: time 0.003865/7.968, allocations: 1.297 MB / 3.118 GB, free: 318.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/7.968, allocations: 8.594 kB / 3.118 GB, free: 318.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001817/7.97, allocations: 233.7 kB / 3.118 GB, free: 318.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002277/7.972, allocations: 0.7475 MB / 3.119 GB, free: 318 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001721/7.972, allocations: 82.56 kB / 3.119 GB, free: 318 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002538/7.972, allocations: 67.72 kB / 3.119 GB, free: 318 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003526/7.976, allocations: 1.239 MB / 3.12 GB, free: 318 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002915/7.979, allocations: 1.024 MB / 3.121 GB, free: 317.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.058e-05/7.979, allocations: 0 / 3.121 GB, free: 317.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000163/7.979, allocations: 1.062 kB / 3.121 GB, free: 317.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-05/7.979, allocations: 30.06 kB / 3.121 GB, free: 317.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008905/7.988, allocations: 3.136 MB / 3.124 GB, free: 317.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002065/7.99, allocations: 0.8148 MB / 3.125 GB, free: 317 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000833/7.991, allocations: 319.5 kB / 3.126 GB, free: 317 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000155/7.991, allocations: 46.91 kB / 3.126 GB, free: 317 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001167/7.993, allocations: 497 kB / 3.126 GB, free: 316.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=93): time 4.187e-06/7.993, allocations: 3.969 kB / 3.126 GB, free: 316.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=93): time 0.003221/7.996, allocations: 0.8332 MB / 3.127 GB, free: 316.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.557e-05/7.996, allocations: 245.5 kB / 3.127 GB, free: 316.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001369/7.997, allocations: 0.5921 MB / 3.128 GB, free: 316.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003009/7.998, allocations: 27.23 kB / 3.128 GB, free: 316.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005294/7.998, allocations: 0.5141 MB / 3.128 GB, free: 316.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003853/7.999, allocations: 298.9 kB / 3.128 GB, free: 315.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.38e-05/7.999, allocations: 0 / 3.128 GB, free: 315.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001923/7.999, allocations: 395.1 kB / 3.129 GB, free: 315.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007351/8, allocations: 272.7 kB / 3.129 GB, free: 315.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008071/8, allocations: 391.5 kB / 3.129 GB, free: 315.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008829/8.001, allocations: 343.5 kB / 3.13 GB, free: 315.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/8.001, allocations: 0 / 3.13 GB, free: 315.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.00319/8.005, allocations: 0.8733 MB / 3.131 GB, free: 315.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/8.005, allocations: 6.438 kB / 3.131 GB, free: 315.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/8.005, allocations: 4.125 kB / 3.131 GB, free: 315.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009773/8.006, allocations: 80.61 kB / 3.131 GB, free: 315.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001781/8.007, allocations: 199.3 kB / 3.131 GB, free: 315.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00249/8.01, allocations: 1.465 MB / 3.132 GB, free: 313.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001565/8.012, allocations: 81.3 kB / 3.132 GB, free: 313.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001558/8.012, allocations: 40.67 kB / 3.132 GB, free: 313.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 101 * 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.0003259/8.012, allocations: 124.5 kB / 3.133 GB, free: 313.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003022/8.012, allocations: 90.25 kB / 3.133 GB, free: 313.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004395/8.017, allocations: 1.197 MB / 3.134 GB, free: 313.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-05/8.017, allocations: 10.53 kB / 3.134 GB, free: 313.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/8.017, allocations: 1.75 kB / 3.134 GB, free: 313.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.732e-05/8.017, allocations: 6.562 kB / 3.134 GB, free: 313.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006299/8.023, allocations: 2.205 MB / 3.136 GB, free: 312.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.267e-06/8.023, allocations: 0 / 3.136 GB, free: 312.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001544/8.025, allocations: 181.3 kB / 3.136 GB, free: 312.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008661/8.026, allocations: 86.59 kB / 3.136 GB, free: 312.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001399/8.026, allocations: 23 kB / 3.136 GB, free: 312.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002482/8.028, allocations: 1.481 MB / 3.138 GB, free: 310.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/8.028, allocations: 3.844 kB / 3.138 GB, free: 310.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003782/8.032, allocations: 1.024 MB / 3.139 GB, free: 310.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00125/8.034, allocations: 343 kB / 3.139 GB, free: 310.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004246/8.034, allocations: 1.125 kB / 3.139 GB, free: 310.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001721/8.036, allocations: 62.16 kB / 3.139 GB, free: 310.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004133/8.036, allocations: 73.98 kB / 3.139 GB, free: 310.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001661/8.036, allocations: 40.33 kB / 3.139 GB, free: 310.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001181/8.038, allocations: 0.4891 MB / 3.14 GB, free: 309.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.61e-07/8.038, allocations: 1.375 kB / 3.14 GB, free: 309.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002225/8.04, allocations: 381.9 kB / 3.14 GB, free: 309.8 MB / 0.948 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 104 * 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.002645/8.043, allocations: 1.038 MB / 3.141 GB, free: 309.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002651/8.045, allocations: 0.8451 MB / 3.142 GB, free: 309.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/8.045, allocations: 3.875 kB / 3.142 GB, free: 309.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001365/8.047, allocations: 0.5253 MB / 3.142 GB, free: 309 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002046/8.049, allocations: 232.9 kB / 3.143 GB, free: 309 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00661/8.055, allocations: 1.658 MB / 3.144 GB, free: 308.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009084/8.056, allocations: 1.142 MB / 3.145 GB, free: 307.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001869/8.058, allocations: 280.5 kB / 3.146 GB, free: 307.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005602/8.059, allocations: 120.3 kB / 3.146 GB, free: 307.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.593e-06/8.059, allocations: 1.125 kB / 3.146 GB, free: 307.5 MB / 0.948 GB Notification: Performance of Templates: time 0.04643/8.105, allocations: 17.91 MB / 3.163 GB, free: 302.7 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)