Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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) 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 Buildings with version 8.0.0 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.106/3.106, allocations: 287.3 MB / 302.3 MB, free: 8.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001503/0.001503, allocations: 186.1 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.457/2.457, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001088/0.001088, allocations: 97.92 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009385/0.0009386, allocations: 10.84 kB / 0.8656 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2838, allocations: 115.3 MB / 0.9782 GB, free: 28.41 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.008325/0.2922, allocations: 4.193 MB / 0.9823 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 1.06/1.352, allocations: 127.5 MB / 1.107 GB, free: 1.668 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001153/1.353, allocations: 16.16 kB / 1.107 GB, free: 1.664 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005375/1.354, allocations: 87.89 kB / 1.107 GB, free: 1.621 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002872/1.357, allocations: 0.5074 MB / 1.107 GB, free: 1.578 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003777/1.361, allocations: 0.6884 MB / 1.108 GB, free: 1.547 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003165/1.364, allocations: 0.9513 MB / 1.109 GB, free: 1.5 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002284/1.366, allocations: 0.8841 MB / 1.11 GB, free: 1.34 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001597/1.368, allocations: 440.1 kB / 1.11 GB, free: 1.227 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001199/1.369, allocations: 434.3 kB / 1.111 GB, free: 1.09 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002373/1.369, allocations: 28.97 kB / 1.111 GB, free: 1.09 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001381/1.371, allocations: 255.2 kB / 1.111 GB, free: 1.082 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004603/1.371, allocations: 222 kB / 1.111 GB, free: 1.031 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000579/1.372, allocations: 267.6 kB / 1.111 GB, free: 16.95 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004491/1.376, allocations: 1.629 MB / 1.113 GB, free: 16.84 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/1.376, allocations: 0 / 1.113 GB, free: 16.84 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.677e-06/1.376, allocations: 0.75 kB / 1.113 GB, free: 16.84 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.97e-05/1.376, allocations: 0 / 1.113 GB, free: 16.84 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.006709/1.383, allocations: 1.489 MB / 1.114 GB, free: 15.96 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.385e-05/1.383, allocations: 12.48 kB / 1.114 GB, free: 15.96 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002592/1.386, allocations: 255.4 kB / 1.115 GB, free: 15.87 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004088/1.39, allocations: 0.8715 MB / 1.116 GB, free: 15.52 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003058/1.39, allocations: 133.8 kB / 1.116 GB, free: 15.48 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005207/1.391, allocations: 136.8 kB / 1.116 GB, free: 15.48 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006904/1.398, allocations: 1.41 MB / 1.117 GB, free: 15.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.778e-05/1.398, allocations: 1.969 kB / 1.117 GB, free: 15.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003369/1.398, allocations: 65.91 kB / 1.117 GB, free: 15.29 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.604e-05/1.398, allocations: 37.95 kB / 1.117 GB, free: 15.29 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006172/1.405, allocations: 1.453 MB / 1.119 GB, free: 15.27 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01586/1.421, allocations: 3.786 MB / 1.122 GB, free: 14.25 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003718/1.424, allocations: 0.9202 MB / 1.123 GB, free: 14.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001936/1.425, allocations: 40.7 kB / 1.123 GB, free: 14.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002307/1.427, allocations: 0.5454 MB / 1.124 GB, free: 14.11 MB / 0.698 GB Notification: Performance of pre-optimization done (n=93): time 7.173e-06/1.427, allocations: 1 kB / 1.124 GB, free: 14.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=93): time 0.007305/1.434, allocations: 1.379 MB / 1.125 GB, free: 13.89 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001859/1.435, allocations: 194.9 kB / 1.125 GB, free: 13.67 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002294/1.437, allocations: 0.7412 MB / 1.126 GB, free: 13.53 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003859/1.437, allocations: 42.36 kB / 1.126 GB, free: 13.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001014/1.438, allocations: 0.5833 MB / 1.127 GB, free: 13.22 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007158/1.439, allocations: 311.8 kB / 1.127 GB, free: 13 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/1.439, allocations: 13.78 kB / 1.127 GB, free: 13 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002768/1.439, allocations: 347.3 kB / 1.127 GB, free: 12.68 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001565/1.441, allocations: 309.2 kB / 1.128 GB, free: 12.64 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001861/1.443, allocations: 425.7 kB / 1.128 GB, free: 12.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001764/1.445, allocations: 378.7 kB / 1.128 GB, free: 12.45 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.108e-05/1.445, allocations: 0.9688 kB / 1.128 GB, free: 12.45 MB / 0.698 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.005448/1.45, allocations: 0.9794 MB / 1.129 GB, free: 12.22 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.548e-05/1.45, allocations: 4.781 kB / 1.129 GB, free: 12.22 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/1.45, allocations: 1.312 kB / 1.129 GB, free: 12.22 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001253/1.452, allocations: 84.42 kB / 1.13 GB, free: 12.19 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002162/1.454, allocations: 191.8 kB / 1.13 GB, free: 12.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004239/1.458, allocations: 1.553 MB / 1.131 GB, free: 10.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001992/1.46, allocations: 96.59 kB / 1.131 GB, free: 10.72 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002586/1.46, allocations: 43.03 kB / 1.131 GB, free: 10.71 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (103): * Single equations (assignments): 102 * 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.001703/1.462, allocations: 318.5 kB / 1.132 GB, free: 10.57 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005241/1.463, allocations: 101.4 kB / 1.132 GB, free: 10.52 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006744/1.47, allocations: 1.308 MB / 1.133 GB, free: 10.14 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.771e-05/1.47, allocations: 9.875 kB / 1.133 GB, free: 10.14 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/1.47, allocations: 3.688 kB / 1.133 GB, free: 10.14 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.684e-05/1.47, allocations: 3.984 kB / 1.133 GB, free: 10.14 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01099/1.481, allocations: 2.501 MB / 1.135 GB, free: 9.262 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.375e-05/1.481, allocations: 0 / 1.135 GB, free: 9.262 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001887/1.483, allocations: 176.7 kB / 1.136 GB, free: 9.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001103/1.484, allocations: 90.61 kB / 1.136 GB, free: 9.191 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002695/1.484, allocations: 30.98 kB / 1.136 GB, free: 9.184 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003935/1.488, allocations: 1.577 MB / 1.137 GB, free: 7.805 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.573e-06/1.488, allocations: 4.062 kB / 1.137 GB, free: 7.801 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00554/1.494, allocations: 1.112 MB / 1.138 GB, free: 7.469 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001588/1.495, allocations: 344.4 kB / 1.139 GB, free: 7.246 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004381/1.496, allocations: 16.78 kB / 1.139 GB, free: 7.246 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00183/1.498, allocations: 79.02 kB / 1.139 GB, free: 7.227 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004039/1.498, allocations: 74.33 kB / 1.139 GB, free: 7.199 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002015/1.498, allocations: 42.48 kB / 1.139 GB, free: 7.191 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001956/1.5, allocations: 0.5485 MB / 1.139 GB, free: 7.02 MB / 0.698 GB Notification: Performance of sort global known variables: time 9.82e-07/1.5, allocations: 0 / 1.139 GB, free: 7.02 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002827/1.503, allocations: 373.5 kB / 1.14 GB, free: 6.934 MB / 0.698 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.002884/1.506, allocations: 0.5669 MB / 1.14 GB, free: 6.684 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004543/1.511, allocations: 0.9271 MB / 1.141 GB, free: 6.441 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/1.511, allocations: 1.406 kB / 1.141 GB, free: 6.441 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002/1.513, allocations: 0.5773 MB / 1.142 GB, free: 6.25 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002373/1.515, allocations: 254.5 kB / 1.142 GB, free: 6.172 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009575/1.525, allocations: 2.913 MB / 1.145 GB, free: 4.523 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001267/1.526, allocations: 1.192 MB / 1.146 GB, free: 3.605 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001948/1.528, allocations: 290.3 kB / 1.146 GB, free: 3.465 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006/1.529, allocations: 125.6 kB / 1.146 GB, free: 3.438 MB / 0.698 GB Notification: Performance of SimCode: time 9.02e-07/1.529, allocations: 5.797 kB / 1.147 GB, free: 3.434 MB / 0.698 GB Notification: Performance of Templates: time 0.04761/1.576, allocations: 15.61 MB / 1.162 GB, free: 11.62 MB / 0.7136 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)