Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.conf.json 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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.313/2.313, allocations: 248.7 MB / 256.2 MB, free: 7.055 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001448/0.001448, allocations: 174.3 kB / 315.4 MB, free: 4.012 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.091/2.091, allocations: 205.3 MB / 0.5662 GB, free: 0.5469 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001103/0.001103, allocations: 92.08 kB / 0.6704 GB, free: 5.754 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.86e-05/2.869e-05, allocations: 0 / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.2259, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.249/7.475, allocations: 2.19 GB / 3.074 GB, free: 163.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003229/7.476, allocations: 92.14 kB / 3.074 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2084/7.684, allocations: 56.27 MB / 3.129 GB, free: 114 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.003e-06/7.684, allocations: 0 / 3.129 GB, free: 114 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.578e-05/7.684, allocations: 23.98 kB / 3.129 GB, free: 114 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.00233/7.687, allocations: 1.038 MB / 3.13 GB, free: 112.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/7.687, allocations: 8.031 kB / 3.13 GB, free: 112.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001432/7.688, allocations: 182.6 kB / 3.13 GB, free: 112.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001523/7.69, allocations: 0.5997 MB / 3.131 GB, free: 112.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.753e-05/7.69, allocations: 27.98 kB / 3.131 GB, free: 112.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/7.69, allocations: 48 kB / 3.131 GB, free: 112 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00218/7.692, allocations: 0.9601 MB / 3.132 GB, free: 111 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001657/7.694, allocations: 0.7075 MB / 3.133 GB, free: 110.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.878e-05/7.694, allocations: 0 / 3.133 GB, free: 110.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/7.694, allocations: 4 kB / 3.133 GB, free: 110.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.14e-05/7.694, allocations: 19.98 kB / 3.133 GB, free: 110.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005429/7.699, allocations: 2.2 MB / 3.135 GB, free: 108 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001351/7.701, allocations: 0.6312 MB / 3.136 GB, free: 107.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004908/7.701, allocations: 230.5 kB / 3.136 GB, free: 107.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001132/7.701, allocations: 36.66 kB / 3.136 GB, free: 107.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008173/7.702, allocations: 375.6 kB / 3.136 GB, free: 106.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=71): time 4.148e-06/7.702, allocations: 0 / 3.136 GB, free: 106.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=71): time 0.002419/7.705, allocations: 0.6368 MB / 3.137 GB, free: 106.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.919e-05/7.705, allocations: 240.1 kB / 3.137 GB, free: 105.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009235/7.706, allocations: 498.3 kB / 3.137 GB, free: 105.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001344/7.706, allocations: 33.7 kB / 3.137 GB, free: 105.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003323/7.706, allocations: 372.2 kB / 3.138 GB, free: 104.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002284/7.707, allocations: 228.5 kB / 3.138 GB, free: 104.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.786e-05/7.707, allocations: 0 / 3.138 GB, free: 104.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001178/7.707, allocations: 370.8 kB / 3.138 GB, free: 104.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004745/7.707, allocations: 189.5 kB / 3.139 GB, free: 104.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005369/7.708, allocations: 287.5 kB / 3.139 GB, free: 103.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005714/7.708, allocations: 224.5 kB / 3.139 GB, free: 103.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/7.708, allocations: 0 / 3.139 GB, free: 103.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002259/7.711, allocations: 0.633 MB / 3.14 GB, free: 102.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/7.711, allocations: 7.953 kB / 3.14 GB, free: 102.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/7.711, allocations: 7.938 kB / 3.14 GB, free: 102.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009766/7.712, allocations: 80.84 kB / 3.14 GB, free: 102.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/7.713, allocations: 135.7 kB / 3.14 GB, free: 102.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002402/7.715, allocations: 1.461 MB / 3.141 GB, free: 101.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/7.716, allocations: 55.53 kB / 3.141 GB, free: 101.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-05/7.716, allocations: 32.05 kB / 3.141 GB, free: 101 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * 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.0002412/7.717, allocations: 116.8 kB / 3.142 GB, free: 100.9 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002215/7.719, allocations: 0.6368 MB / 3.142 GB, free: 100.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002231/7.719, allocations: 67.16 kB / 3.142 GB, free: 100.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003038/7.722, allocations: 0.8713 MB / 3.143 GB, free: 99.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.494e-05/7.722, allocations: 11.98 kB / 3.143 GB, free: 99.29 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/7.722, allocations: 3.953 kB / 3.143 GB, free: 99.29 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.333e-05/7.722, allocations: 7.984 kB / 3.143 GB, free: 99.28 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001356/7.724, allocations: 0.7204 MB / 3.144 GB, free: 98.52 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/7.724, allocations: 0 / 3.144 GB, free: 98.52 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001084/7.725, allocations: 139.8 kB / 3.144 GB, free: 98.38 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008491/7.726, allocations: 84.78 kB / 3.144 GB, free: 98.29 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.39e-05/7.726, allocations: 11.98 kB / 3.144 GB, free: 98.28 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002247/7.728, allocations: 1.489 MB / 3.145 GB, free: 96.67 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/7.728, allocations: 0 / 3.145 GB, free: 96.67 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002403/7.73, allocations: 0.7387 MB / 3.146 GB, free: 95.91 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000657/7.731, allocations: 267.9 kB / 3.146 GB, free: 95.63 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001667/7.731, allocations: 3.953 kB / 3.146 GB, free: 95.63 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009416/7.732, allocations: 51.95 kB / 3.147 GB, free: 95.58 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001802/7.733, allocations: 60.69 kB / 3.147 GB, free: 95.52 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.424e-05/7.733, allocations: 31.98 kB / 3.147 GB, free: 95.49 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0006958/7.733, allocations: 394.9 kB / 3.147 GB, free: 95.11 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.6e-07/7.733, allocations: 0 / 3.147 GB, free: 95.11 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001488/7.735, allocations: 295.1 kB / 3.147 GB, free: 94.82 MB / 0.8698 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.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * 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.004923/7.74, allocations: 2.226 MB / 3.149 GB, free: 92.67 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001899/7.742, allocations: 0.636 MB / 3.15 GB, free: 92.02 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/7.742, allocations: 4 kB / 3.15 GB, free: 92.02 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001084/7.743, allocations: 436.5 kB / 3.15 GB, free: 91.58 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001816/7.745, allocations: 210.8 kB / 3.151 GB, free: 91.38 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005926/7.751, allocations: 1.424 MB / 3.152 GB, free: 89.91 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005707/7.751, allocations: 1.007 MB / 3.153 GB, free: 88.88 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001464/7.753, allocations: 257.6 kB / 3.153 GB, free: 88.62 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007571/7.754, allocations: 339.3 kB / 3.154 GB, free: 88.29 MB / 0.8698 GB Notification: Performance of SimCode: time 1.513e-06/7.754, allocations: 0 / 3.154 GB, free: 88.29 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08839/7.842, allocations: 22.38 MB / 3.175 GB, free: 66.04 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002554/7.842, allocations: 215.7 kB / 3.176 GB, free: 65.75 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.799/11.64, allocations: 0 / 3.176 GB, free: 65.75 MB / 0.8698 GB