Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.586/1.586, allocations: 297.8 MB / 313.7 MB, free: 164 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.001191/0.001191, allocations: 188.4 kB / 384.6 MB, free: 10.88 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.342/1.342, allocations: 223.2 MB / 0.6626 GB, free: 4.363 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.0008097/0.0008097, allocations: 97.83 kB / 0.7808 GB, free: 50.3 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003858/0.000386, allocations: 12 kB / 0.9088 GB, free: 2.914 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6242/0.6246, allocations: 120.3 MB / 1.026 GB, free: 56.09 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.905/3.53, allocations: 1.725 GB / 2.752 GB, free: 115.6 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002318/3.53, allocations: 91.95 kB / 2.752 GB, free: 115.5 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 0.1719/3.702, allocations: 84.41 MB / 2.834 GB, free: 31.39 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.795e-06/3.702, allocations: 0 / 2.834 GB, free: 31.39 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 9.818e-05/3.702, allocations: 39.92 kB / 2.834 GB, free: 31.35 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.002883/3.705, allocations: 1.428 MB / 2.836 GB, free: 29.86 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/3.705, allocations: 12.03 kB / 2.836 GB, free: 29.85 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001032/3.706, allocations: 231 kB / 2.836 GB, free: 29.62 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001265/3.707, allocations: 0.7724 MB / 2.837 GB, free: 28.8 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000106/3.707, allocations: 130.9 kB / 2.837 GB, free: 28.67 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001767/3.708, allocations: 120.4 kB / 2.837 GB, free: 28.55 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001934/3.71, allocations: 1.279 MB / 2.838 GB, free: 27.21 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.999e-05/3.71, allocations: 3.938 kB / 2.838 GB, free: 27.21 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/3.71, allocations: 52 kB / 2.838 GB, free: 27.16 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.784e-05/3.71, allocations: 28 kB / 2.838 GB, free: 27.13 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001862/3.712, allocations: 1.395 MB / 2.84 GB, free: 25.73 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004692/3.716, allocations: 3.564 MB / 2.843 GB, free: 22.1 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001253/3.718, allocations: 0.9057 MB / 2.844 GB, free: 21.18 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004972/3.718, allocations: 372.5 kB / 2.844 GB, free: 20.81 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 7.859e-05/3.718, allocations: 44.91 kB / 2.844 GB, free: 20.77 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007672/3.719, allocations: 0.5531 MB / 2.845 GB, free: 20.2 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=93): time 2.715e-06/3.719, allocations: 0 / 2.845 GB, free: 20.2 MB / 0.9792 GB Notification: Performance of matching and sorting (n=93): time 0.002794/3.722, allocations: 1.399 MB / 2.846 GB, free: 18.77 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.944e-05/3.722, allocations: 248.3 kB / 2.846 GB, free: 18.47 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008593/3.723, allocations: 0.7939 MB / 2.847 GB, free: 17.66 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 6.865e-05/3.723, allocations: 41.7 kB / 2.847 GB, free: 17.62 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002528/3.723, allocations: 0.4999 MB / 2.848 GB, free: 17.11 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001598/3.723, allocations: 313 kB / 2.848 GB, free: 16.8 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.044e-05/3.723, allocations: 20 kB / 2.848 GB, free: 16.78 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 5.507e-05/3.723, allocations: 341.9 kB / 2.848 GB, free: 16.44 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004694/3.724, allocations: 305.8 kB / 2.849 GB, free: 16.14 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005306/3.724, allocations: 444.1 kB / 2.849 GB, free: 15.68 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/3.725, allocations: 0.7336 MB / 2.85 GB, free: 14.93 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/3.725, allocations: 7.938 kB / 2.85 GB, free: 14.93 MB / 0.9792 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001748/3.727, allocations: 0.9775 MB / 2.851 GB, free: 13.94 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/3.727, allocations: 4.938 kB / 2.851 GB, free: 13.93 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/3.727, allocations: 0 / 2.851 GB, free: 13.93 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005072/3.728, allocations: 84.84 kB / 2.851 GB, free: 13.85 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006862/3.728, allocations: 191.7 kB / 2.851 GB, free: 13.66 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001495/3.73, allocations: 1.535 MB / 2.853 GB, free: 11.99 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000641/3.731, allocations: 99.25 kB / 2.853 GB, free: 11.89 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.02e-05/3.731, allocations: 39.97 kB / 2.853 GB, free: 11.85 MB / 0.9792 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 () * Number of clocked 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.0004479/3.731, allocations: 297.6 kB / 2.853 GB, free: 11.55 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000137/3.731, allocations: 98.97 kB / 2.853 GB, free: 11.45 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002407/3.734, allocations: 1.302 MB / 2.854 GB, free: 10.14 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/3.734, allocations: 13.03 kB / 2.854 GB, free: 10.13 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/3.734, allocations: 4 kB / 2.854 GB, free: 10.13 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/3.734, allocations: 3.984 kB / 2.854 GB, free: 10.12 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003188/3.737, allocations: 2.474 MB / 2.857 GB, free: 7.59 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/3.737, allocations: 0 / 2.857 GB, free: 7.59 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006271/3.738, allocations: 183.7 kB / 2.857 GB, free: 7.41 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004311/3.738, allocations: 84.72 kB / 2.857 GB, free: 7.324 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.148e-05/3.738, allocations: 35.97 kB / 2.857 GB, free: 7.289 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001309/3.739, allocations: 1.554 MB / 2.859 GB, free: 5.602 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/3.739, allocations: 0 / 2.859 GB, free: 5.602 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00171/3.741, allocations: 1.117 MB / 2.86 GB, free: 4.465 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003991/3.741, allocations: 356.4 kB / 2.86 GB, free: 4.098 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001336/3.742, allocations: 20 kB / 2.86 GB, free: 4.078 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006354/3.742, allocations: 75.94 kB / 2.86 GB, free: 4.004 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/3.742, allocations: 76.83 kB / 2.86 GB, free: 3.93 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.267e-05/3.742, allocations: 39.97 kB / 2.86 GB, free: 3.891 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.000617/3.743, allocations: 0.5927 MB / 2.861 GB, free: 3.305 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.7e-07/3.743, allocations: 0 / 2.861 GB, free: 3.305 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.001064/3.744, allocations: 438.7 kB / 2.861 GB, free: 2.875 MB / 0.9792 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 (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.001719/3.746, allocations: 1.076 MB / 2.862 GB, free: 2.066 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001494/3.747, allocations: 0.9288 MB / 2.863 GB, free: 1.125 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/3.747, allocations: 4 kB / 2.863 GB, free: 1.121 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0008238/3.748, allocations: 0.5824 MB / 2.864 GB, free: 0.5273 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001259/3.75, allocations: 267.8 kB / 2.864 GB, free: 284 kB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3694/4.119, allocations: 2.73 MB / 2.867 GB, free: 253.6 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005212/4.12, allocations: 1.124 MB / 2.868 GB, free: 252.9 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.001088/4.121, allocations: 288.8 kB / 2.868 GB, free: 252.9 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002823/4.121, allocations: 121.5 kB / 2.868 GB, free: 252.9 MB / 0.9792 GB Notification: Performance of SimCode: time 1.112e-06/4.121, allocations: 0 / 2.868 GB, free: 252.9 MB / 0.9792 GB Notification: Performance of Templates: time 0.03339/4.154, allocations: 23.49 MB / 2.891 GB, free: 251.8 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)