Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.209/2.209, allocations: 251.1 MB / 266.7 MB, free: 11.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00132/0.00132, allocations: 170.9 kB / 326.2 MB, free: 2.848 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.468/2.468, allocations: 205.4 MB / 0.5772 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009199/0.0009198, allocations: 88.31 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004721/0.0004723, allocations: 13.67 kB / 0.7957 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2123, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.331/7.544, allocations: 2.192 GB / 3.092 GB, free: 246.9 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003723/7.544, allocations: 99.55 kB / 3.092 GB, free: 246.9 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.3199/7.864, allocations: 83.16 MB / 3.173 GB, free: 232.8 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.076e-06/7.864, allocations: 0 / 3.173 GB, free: 232.8 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001403/7.864, allocations: 35.19 kB / 3.173 GB, free: 232.8 MB / 0.8855 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.004776/7.869, allocations: 1.426 MB / 3.175 GB, free: 231.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/7.869, allocations: 7.844 kB / 3.175 GB, free: 231.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0019/7.871, allocations: 228 kB / 3.175 GB, free: 231.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002285/7.873, allocations: 0.7556 MB / 3.175 GB, free: 231.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001846/7.873, allocations: 123.2 kB / 3.176 GB, free: 231.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002891/7.874, allocations: 112.4 kB / 3.176 GB, free: 231.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003562/7.877, allocations: 1.238 MB / 3.177 GB, free: 230.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.639e-05/7.877, allocations: 7.875 kB / 3.177 GB, free: 230.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00021/7.878, allocations: 50.34 kB / 3.177 GB, free: 230.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.661e-05/7.878, allocations: 27.28 kB / 3.177 GB, free: 230.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003889/7.882, allocations: 1.361 MB / 3.178 GB, free: 230.4 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009156/7.891, allocations: 3.361 MB / 3.182 GB, free: 228.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002487/7.893, allocations: 0.9059 MB / 3.182 GB, free: 228.6 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009924/7.894, allocations: 375 kB / 3.183 GB, free: 228.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001492/7.895, allocations: 40.3 kB / 3.183 GB, free: 228.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001418/7.896, allocations: 0.5479 MB / 3.183 GB, free: 228.3 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=93): time 3.807e-06/7.896, allocations: 3.906 kB / 3.183 GB, free: 228.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=93): time 0.005595/7.902, allocations: 1.393 MB / 3.185 GB, free: 227.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.343e-05/7.902, allocations: 251.7 kB / 3.185 GB, free: 227.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001565/7.903, allocations: 0.7826 MB / 3.186 GB, free: 227.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003176/7.904, allocations: 48.33 kB / 3.186 GB, free: 227.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004791/7.904, allocations: 0.5063 MB / 3.186 GB, free: 227.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003563/7.905, allocations: 309.2 kB / 3.187 GB, free: 226.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.313e-05/7.905, allocations: 13.84 kB / 3.187 GB, free: 226.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.25e-05/7.905, allocations: 342 kB / 3.187 GB, free: 226.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009688/7.906, allocations: 305.3 kB / 3.187 GB, free: 226.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001037/7.907, allocations: 449.9 kB / 3.188 GB, free: 226.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/7.908, allocations: 369.7 kB / 3.188 GB, free: 226.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/7.908, allocations: 3.906 kB / 3.188 GB, free: 226.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.003508/7.911, allocations: 0.9728 MB / 3.189 GB, free: 226.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.842e-05/7.912, allocations: 7.844 kB / 3.189 GB, free: 226.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/7.912, allocations: 3.906 kB / 3.189 GB, free: 226.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009727/7.913, allocations: 87.27 kB / 3.189 GB, free: 226 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001718/7.914, allocations: 190.2 kB / 3.189 GB, free: 226 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002676/7.917, allocations: 1.541 MB / 3.191 GB, free: 224.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00157/7.919, allocations: 100.7 kB / 3.191 GB, free: 224.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001545/7.919, allocations: 35.06 kB / 3.191 GB, free: 224.5 MB / 0.8855 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.0009756/7.92, allocations: 305.2 kB / 3.191 GB, free: 224.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003594/7.92, allocations: 93.66 kB / 3.191 GB, free: 224.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004642/7.925, allocations: 1.305 MB / 3.193 GB, free: 224 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.541e-05/7.925, allocations: 11.72 kB / 3.193 GB, free: 224 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/7.925, allocations: 0 / 3.193 GB, free: 224 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.902e-05/7.925, allocations: 7.922 kB / 3.193 GB, free: 223.9 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006398/7.931, allocations: 2.463 MB / 3.195 GB, free: 223.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/7.931, allocations: 0 / 3.195 GB, free: 223.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001479/7.933, allocations: 179.8 kB / 3.195 GB, free: 223 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000849/7.934, allocations: 94.45 kB / 3.195 GB, free: 223 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001315/7.934, allocations: 22.67 kB / 3.195 GB, free: 223 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002382/7.936, allocations: 1.567 MB / 3.197 GB, free: 221.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/7.936, allocations: 3.938 kB / 3.197 GB, free: 221.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0036/7.94, allocations: 1.11 MB / 3.198 GB, free: 221.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008809/7.941, allocations: 353.1 kB / 3.198 GB, free: 221 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002298/7.941, allocations: 18.41 kB / 3.198 GB, free: 221 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001325/7.942, allocations: 80.69 kB / 3.198 GB, free: 221 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002221/7.943, allocations: 71.27 kB / 3.198 GB, free: 221 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000117/7.943, allocations: 43 kB / 3.198 GB, free: 221 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001168/7.944, allocations: 0.582 MB / 3.199 GB, free: 220.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.91e-07/7.944, allocations: 3.906 kB / 3.199 GB, free: 220.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00192/7.946, allocations: 412.6 kB / 3.199 GB, free: 220.7 MB / 0.8855 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.002494/7.948, allocations: 1.031 MB / 3.2 GB, free: 220.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003027/7.951, allocations: 0.9344 MB / 3.201 GB, free: 219.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/7.952, allocations: 0 / 3.201 GB, free: 219.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00158/7.953, allocations: 0.5777 MB / 3.202 GB, free: 219.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002408/7.956, allocations: 282.8 kB / 3.202 GB, free: 219.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007655/7.963, allocations: 2.719 MB / 3.205 GB, free: 218.2 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007254/7.964, allocations: 1.123 MB / 3.206 GB, free: 217.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001819/7.966, allocations: 309.2 kB / 3.206 GB, free: 217.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005278/7.966, allocations: 122.5 kB / 3.206 GB, free: 217.1 MB / 0.8855 GB Notification: Performance of SimCode: time 1.213e-06/7.966, allocations: 0 / 3.206 GB, free: 217.1 MB / 0.8855 GB Notification: Performance of Templates: time 0.06088/8.027, allocations: 22.92 MB / 3.229 GB, free: 202.4 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)