Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5038/0.5038, allocations: 94.69 MB / 107.3 MB, free: 5.191 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001059/0.001059, allocations: 175.3 kB / 130.7 MB, free: 7.559 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.646/1.646, allocations: 170.5 MB / 324.5 MB, free: 4.02 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001943/0.001943, allocations: 100.7 kB / 386.6 MB, free: 16.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.828e-05/4.83e-05, allocations: 7.938 kB / 456 MB, free: 11.77 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4657/0.4658, allocations: 61.51 MB / 0.5054 GB, free: 49.44 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.41/15.88, allocations: 4.48 GB / 4.986 GB, free: 129 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000405/15.88, allocations: 90.94 kB / 4.986 GB, free: 129 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.2072/16.08, allocations: 95.84 MB / 5.079 GB, free: 53.66 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.795e-06/16.08, allocations: 0 / 5.079 GB, free: 53.66 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.183e-05/16.08, allocations: 35.94 kB / 5.08 GB, free: 53.62 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 322 * Number of variables: 322 Notification: Performance of Generate backend data structure: time 0.002404/16.09, allocations: 1.529 MB / 5.081 GB, free: 51.99 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/16.09, allocations: 8.031 kB / 5.081 GB, free: 51.98 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005893/16.09, allocations: 170.3 kB / 5.081 GB, free: 51.81 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000895/16.09, allocations: 0.6688 MB / 5.082 GB, free: 51.1 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/16.09, allocations: 124.2 kB / 5.082 GB, free: 50.97 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/16.09, allocations: 127.9 kB / 5.082 GB, free: 50.85 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001781/16.09, allocations: 1.202 MB / 5.083 GB, free: 49.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.667e-05/16.09, allocations: 3.938 kB / 5.083 GB, free: 49.59 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/16.09, allocations: 52 kB / 5.083 GB, free: 49.54 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.539e-05/16.09, allocations: 32 kB / 5.083 GB, free: 49.51 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00165/16.09, allocations: 1.301 MB / 5.085 GB, free: 48.2 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004146/16.1, allocations: 3.313 MB / 5.088 GB, free: 44.81 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/16.1, allocations: 0.7734 MB / 5.089 GB, free: 44.03 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004046/16.1, allocations: 339.2 kB / 5.089 GB, free: 43.7 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001138/16.1, allocations: 2.032 MB / 5.091 GB, free: 41.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007168/16.1, allocations: 0.5021 MB / 5.091 GB, free: 40.68 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=90): time 3.276e-06/16.1, allocations: 0 / 5.091 GB, free: 40.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=90): time 0.001752/16.1, allocations: 0.9692 MB / 5.092 GB, free: 39.67 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/16.1, allocations: 307.4 kB / 5.093 GB, free: 39.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006851/16.1, allocations: 0.5975 MB / 5.093 GB, free: 38.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.293e-05/16.1, allocations: 45.7 kB / 5.093 GB, free: 38.64 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002723/16.1, allocations: 495.8 kB / 5.094 GB, free: 38.15 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000175/16.1, allocations: 299.7 kB / 5.094 GB, free: 37.86 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.122e-05/16.1, allocations: 19.94 kB / 5.094 GB, free: 37.84 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001346/16.1, allocations: 382.8 kB / 5.094 GB, free: 37.45 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004043/16.1, allocations: 286 kB / 5.095 GB, free: 37.18 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004677/16.1, allocations: 381.6 kB / 5.095 GB, free: 36.78 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005647/16.1, allocations: 0.582 MB / 5.096 GB, free: 36.14 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/16.1, allocations: 3.938 kB / 5.096 GB, free: 36.14 MB / 0.5261 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001782/16.11, allocations: 1.214 MB / 5.097 GB, free: 34.86 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001164/16.11, allocations: 248.7 kB / 5.097 GB, free: 34.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/16.11, allocations: 4 kB / 5.097 GB, free: 34.56 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005602/16.11, allocations: 80.84 kB / 5.097 GB, free: 34.48 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005824/16.11, allocations: 159.7 kB / 5.097 GB, free: 34.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001525/16.11, allocations: 1.41 MB / 5.099 GB, free: 32.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005046/16.11, allocations: 83.11 kB / 5.099 GB, free: 32.69 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.492e-05/16.11, allocations: 35.97 kB / 5.099 GB, free: 32.65 MB / 0.5261 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.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 9 * 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 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002246/16.11, allocations: 301.2 kB / 5.099 GB, free: 32.32 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/16.11, allocations: 86.97 kB / 5.099 GB, free: 32.23 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002309/16.11, allocations: 1.334 MB / 5.1 GB, free: 30.86 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/16.11, allocations: 11.94 kB / 5.1 GB, free: 30.84 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/16.11, allocations: 0 / 5.1 GB, free: 30.84 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/16.11, allocations: 3.984 kB / 5.1 GB, free: 30.84 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00284/16.12, allocations: 2.418 MB / 5.103 GB, free: 28.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/16.12, allocations: 0 / 5.103 GB, free: 28.32 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004829/16.12, allocations: 155.7 kB / 5.103 GB, free: 28.17 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003863/16.12, allocations: 80.8 kB / 5.103 GB, free: 28.09 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.432e-05/16.12, allocations: 27.98 kB / 5.103 GB, free: 28.06 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001087/16.12, allocations: 1.438 MB / 5.104 GB, free: 26.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/16.12, allocations: 0 / 5.104 GB, free: 26.48 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001536/16.12, allocations: 1.163 MB / 5.106 GB, free: 25.27 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003402/16.12, allocations: 335.5 kB / 5.106 GB, free: 24.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.586e-05/16.12, allocations: 20 kB / 5.106 GB, free: 24.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004714/16.12, allocations: 43.97 kB / 5.106 GB, free: 24.86 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/16.12, allocations: 72.69 kB / 5.106 GB, free: 24.79 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.15e-05/16.12, allocations: 35.98 kB / 5.106 GB, free: 24.75 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005107/16.12, allocations: 0.5031 MB / 5.107 GB, free: 24.25 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.342e-06/16.12, allocations: 0 / 5.107 GB, free: 24.25 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001095/16.12, allocations: 422.6 kB / 5.107 GB, free: 23.84 MB / 0.5261 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.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim.tStart,weaDat.conTim1.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 5 * 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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001207/16.12, allocations: 0.5783 MB / 5.108 GB, free: 23.42 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001389/16.12, allocations: 1.361 MB / 5.109 GB, free: 21.94 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/16.12, allocations: 0 / 5.109 GB, free: 21.94 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0007093/16.12, allocations: 0.7996 MB / 5.11 GB, free: 21.06 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000753/16.13, allocations: 174.5 kB / 5.11 GB, free: 20.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002392/16.13, allocations: 1.473 MB / 5.111 GB, free: 19.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004907/16.13, allocations: 1.113 MB / 5.112 GB, free: 18.26 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007195/16.13, allocations: 255.3 kB / 5.113 GB, free: 18.01 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002538/16.13, allocations: 107.4 kB / 5.113 GB, free: 17.9 MB / 0.5261 GB Notification: Performance of SimCode: time 6.91e-07/16.13, allocations: 0 / 5.113 GB, free: 17.9 MB / 0.5261 GB Notification: Performance of Templates: time 0.02174/16.15, allocations: 13.93 MB / 5.126 GB, free: 4.082 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)