Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.581/2.581, allocations: 287.3 MB / 302.3 MB, free: 8.258 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.001622/0.001623, allocations: 186 kB / 370.8 MB, free: 10.86 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.773/2.773, 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.001517/0.001517, allocations: 88.95 kB / 0.7428 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004746/0.0004748, allocations: 11.16 kB / 0.8656 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2242, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.01028/0.2346, allocations: 4.177 MB / 0.9823 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8951/1.13, allocations: 127.6 MB / 1.107 GB, free: 1.617 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001061/1.131, allocations: 20.97 kB / 1.107 GB, free: 1.609 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006338/1.132, allocations: 87.34 kB / 1.107 GB, free: 1.566 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002747/1.134, allocations: 0.5278 MB / 1.107 GB, free: 1.523 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003191/1.138, allocations: 0.6541 MB / 1.108 GB, free: 1.496 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00279/1.14, allocations: 0.9718 MB / 1.109 GB, free: 1.449 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001724/1.142, allocations: 0.7774 MB / 1.11 GB, free: 1.309 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001462/1.144, allocations: 473.9 kB / 1.11 GB, free: 1.191 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001218/1.145, allocations: 460 kB / 1.111 GB, free: 1.055 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002946/1.145, allocations: 33.94 kB / 1.111 GB, free: 1.051 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001374/1.147, allocations: 248.2 kB / 1.111 GB, free: 1.051 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004839/1.147, allocations: 226.1 kB / 1.111 GB, free: 1 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0005578/1.148, allocations: 254 kB / 1.111 GB, free: 16.92 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003995/1.152, allocations: 1.52 MB / 1.113 GB, free: 16.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/1.152, allocations: 0 / 1.113 GB, free: 16.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.609e-06/1.152, allocations: 0 / 1.113 GB, free: 16.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001035/1.152, allocations: 1.859 kB / 1.113 GB, free: 16.8 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: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.005718/1.158, allocations: 1.464 MB / 1.114 GB, free: 15.93 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/1.158, allocations: 9.719 kB / 1.114 GB, free: 15.93 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002035/1.16, allocations: 248.6 kB / 1.115 GB, free: 15.84 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002606/1.162, allocations: 0.8432 MB / 1.115 GB, free: 15.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001453/1.163, allocations: 106.2 kB / 1.116 GB, free: 15.49 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005176/1.163, allocations: 129.1 kB / 1.116 GB, free: 15.49 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004896/1.168, allocations: 1.372 MB / 1.117 GB, free: 15.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.932e-05/1.168, allocations: 8.75 kB / 1.117 GB, free: 15.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002523/1.168, allocations: 57.84 kB / 1.117 GB, free: 15.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.87e-05/1.168, allocations: 40.2 kB / 1.117 GB, free: 15.29 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004898/1.173, allocations: 1.469 MB / 1.119 GB, free: 15.27 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01121/1.185, allocations: 3.6 MB / 1.122 GB, free: 14.29 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003188/1.188, allocations: 0.9586 MB / 1.123 GB, free: 14.23 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001837/1.188, allocations: 51.16 kB / 1.123 GB, free: 14.23 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001971/1.19, allocations: 0.5676 MB / 1.124 GB, free: 14.15 MB / 0.698 GB Notification: Performance of pre-optimization done (n=104): time 4.418e-06/1.19, allocations: 0 / 1.124 GB, free: 14.15 MB / 0.698 GB Notification: Performance of matching and sorting (n=104): time 0.006706/1.197, allocations: 1.485 MB / 1.125 GB, free: 13.93 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001506/1.197, allocations: 192 kB / 1.125 GB, free: 13.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00163/1.199, allocations: 0.7401 MB / 1.126 GB, free: 13.56 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003808/1.199, allocations: 44.05 kB / 1.126 GB, free: 13.53 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006417/1.2, allocations: 0.558 MB / 1.127 GB, free: 13.26 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006232/1.2, allocations: 348 kB / 1.127 GB, free: 13.04 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.79e-05/1.201, allocations: 18.75 kB / 1.127 GB, free: 13.04 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001752/1.201, allocations: 344.6 kB / 1.127 GB, free: 12.73 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001263/1.202, allocations: 336.8 kB / 1.128 GB, free: 12.72 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001486/1.204, allocations: 464.1 kB / 1.128 GB, free: 12.57 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001581/1.205, allocations: 409.2 kB / 1.128 GB, free: 12.54 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/1.205, allocations: 0 / 1.128 GB, free: 12.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.004657/1.21, allocations: 1.059 MB / 1.129 GB, free: 12.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.785e-05/1.21, allocations: 5.25 kB / 1.129 GB, free: 12.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/1.21, allocations: 0.875 kB / 1.129 GB, free: 12.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001024/1.211, allocations: 92.31 kB / 1.13 GB, free: 12.26 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002079/1.213, allocations: 211.4 kB / 1.13 GB, free: 12.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003261/1.216, allocations: 1.558 MB / 1.131 GB, free: 10.83 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/1.218, allocations: 113.6 kB / 1.131 GB, free: 10.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002816/1.219, allocations: 41.62 kB / 1.131 GB, free: 10.76 MB / 0.698 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 (117): * Single equations (assignments): 116 * 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.001266/1.22, allocations: 308.7 kB / 1.132 GB, free: 10.62 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004427/1.22, allocations: 102.6 kB / 1.132 GB, free: 10.57 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006123/1.226, allocations: 1.416 MB / 1.133 GB, free: 10.16 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.467e-05/1.226, allocations: 12.34 kB / 1.133 GB, free: 10.16 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/1.226, allocations: 0 / 1.133 GB, free: 10.16 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.895e-05/1.227, allocations: 3.984 kB / 1.133 GB, free: 10.16 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01005/1.237, allocations: 2.555 MB / 1.136 GB, free: 9.262 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/1.237, allocations: 1.312 kB / 1.136 GB, free: 9.262 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001803/1.238, allocations: 201.6 kB / 1.136 GB, free: 9.219 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009493/1.239, allocations: 83.92 kB / 1.136 GB, free: 9.188 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002269/1.24, allocations: 36.44 kB / 1.136 GB, free: 9.176 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002974/1.243, allocations: 1.569 MB / 1.138 GB, free: 7.809 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/1.243, allocations: 1.5 kB / 1.138 GB, free: 7.809 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004715/1.247, allocations: 1.171 MB / 1.139 GB, free: 7.461 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001186/1.249, allocations: 354 kB / 1.139 GB, free: 7.23 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004348/1.249, allocations: 22.59 kB / 1.139 GB, free: 7.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001735/1.251, allocations: 75.94 kB / 1.139 GB, free: 7.207 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004803/1.251, allocations: 75.89 kB / 1.139 GB, free: 7.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001701/1.252, allocations: 41.66 kB / 1.139 GB, free: 7.172 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001541/1.253, allocations: 0.5548 MB / 1.14 GB, free: 7 MB / 0.698 GB Notification: Performance of sort global known variables: time 9.62e-07/1.253, allocations: 0 / 1.14 GB, free: 7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002293/1.256, allocations: 378.1 kB / 1.14 GB, free: 6.922 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 (115): * Single equations (assignments): 112 * 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.002204/1.258, allocations: 0.5478 MB / 1.141 GB, free: 6.688 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004996/1.263, allocations: 1.004 MB / 1.142 GB, free: 6.43 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.195e-05/1.263, allocations: 0.9688 kB / 1.142 GB, free: 6.43 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002414/1.265, allocations: 0.6115 MB / 1.142 GB, free: 6.227 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002341/1.268, allocations: 259.3 kB / 1.142 GB, free: 6.145 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00945/1.277, allocations: 2.909 MB / 1.145 GB, free: 4.516 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001202/1.278, allocations: 1.185 MB / 1.146 GB, free: 3.598 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002096/1.281, allocations: 307.5 kB / 1.147 GB, free: 3.445 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008325/1.281, allocations: 131.8 kB / 1.147 GB, free: 3.418 MB / 0.698 GB Notification: Performance of SimCode: time 1.343e-06/1.282, allocations: 1.859 kB / 1.147 GB, free: 3.418 MB / 0.698 GB Notification: Performance of Templates: time 0.04948/1.331, allocations: 16.1 MB / 1.163 GB, free: 11.36 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)