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 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.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",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.252/2.252, allocations: 248.7 MB / 256.2 MB, free: 6.973 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.002111/0.002111, allocations: 179.7 kB / 315.4 MB, free: 3.988 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.162/2.162, allocations: 205.3 MB / 0.5662 GB, free: 0.6055 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.001074/0.001073, allocations: 88.47 kB / 0.6704 GB, free: 5.809 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.179e-05/2.176e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.207, allocations: 106.3 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.203/7.41, allocations: 2.192 GB / 3.077 GB, free: 190.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003249/7.411, allocations: 89.62 kB / 3.077 GB, free: 190.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.312/7.723, allocations: 80.98 MB / 3.156 GB, free: 118.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.325e-06/7.723, allocations: 0 / 3.156 GB, free: 118.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.000102/7.723, allocations: 31.94 kB / 3.156 GB, free: 118.3 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: 304 * Number of variables: 304 Notification: Performance of Generate backend data structure: time 0.002986/7.726, allocations: 1.294 MB / 3.157 GB, free: 116.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/7.726, allocations: 8.031 kB / 3.157 GB, free: 116.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00151/7.727, allocations: 230.1 kB / 3.157 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001718/7.729, allocations: 0.7405 MB / 3.158 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001274/7.729, allocations: 80.08 kB / 3.158 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001993/7.73, allocations: 68 kB / 3.158 GB, free: 115.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002782/7.732, allocations: 1.238 MB / 3.159 GB, free: 114.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002397/7.735, allocations: 1.033 MB / 3.16 GB, free: 113.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.781e-05/7.735, allocations: 7.938 kB / 3.16 GB, free: 113.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001497/7.735, allocations: 0 / 3.16 GB, free: 113.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.65e-05/7.735, allocations: 36 kB / 3.16 GB, free: 113.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007513/7.743, allocations: 3.127 MB / 3.163 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001675/7.744, allocations: 0.818 MB / 3.164 GB, free: 109.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006445/7.745, allocations: 323.1 kB / 3.165 GB, free: 109 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00014/7.745, allocations: 36.72 kB / 3.165 GB, free: 109 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001014/7.746, allocations: 0.4997 MB / 3.165 GB, free: 108.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=93): time 3.396e-06/7.746, allocations: 0 / 3.165 GB, free: 108.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=93): time 0.00285/7.749, allocations: 0.8328 MB / 3.166 GB, free: 107.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.927e-05/7.749, allocations: 252.1 kB / 3.166 GB, free: 107.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/7.75, allocations: 0.5897 MB / 3.167 GB, free: 106.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001598/7.75, allocations: 29.7 kB / 3.167 GB, free: 106.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004412/7.751, allocations: 0.5115 MB / 3.167 GB, free: 106.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002831/7.751, allocations: 295.5 kB / 3.168 GB, free: 105.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.928e-05/7.751, allocations: 0 / 3.168 GB, free: 105.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001328/7.751, allocations: 386.8 kB / 3.168 GB, free: 105.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000647/7.752, allocations: 274.6 kB / 3.168 GB, free: 105.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007215/7.753, allocations: 393.1 kB / 3.169 GB, free: 104.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008108/7.754, allocations: 346.2 kB / 3.169 GB, free: 104.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/7.754, allocations: 0 / 3.169 GB, free: 104.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002798/7.756, allocations: 0.8756 MB / 3.17 GB, free: 103.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/7.756, allocations: 16.05 kB / 3.17 GB, free: 103.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/7.756, allocations: 3.984 kB / 3.17 GB, free: 103.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009665/7.757, allocations: 80.78 kB / 3.17 GB, free: 103.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001538/7.759, allocations: 187.7 kB / 3.17 GB, free: 103.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002313/7.761, allocations: 1.473 MB / 3.171 GB, free: 101.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/7.763, allocations: 71.44 kB / 3.171 GB, free: 101.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001134/7.763, allocations: 39.97 kB / 3.172 GB, free: 101.6 MB / 0.8698 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 () * 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.0002857/7.763, allocations: 119.9 kB / 3.172 GB, free: 101.5 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002686/7.766, allocations: 0.8435 MB / 3.172 GB, free: 100.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002153/7.766, allocations: 86.97 kB / 3.173 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003936/7.77, allocations: 1.191 MB / 3.174 GB, free: 99.33 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/7.77, allocations: 12 kB / 3.174 GB, free: 99.32 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/7.77, allocations: 3.953 kB / 3.174 GB, free: 99.31 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.528e-05/7.77, allocations: 7.969 kB / 3.174 GB, free: 99.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005117/7.775, allocations: 2.202 MB / 3.176 GB, free: 97.06 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/7.775, allocations: 0 / 3.176 GB, free: 97.06 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00144/7.777, allocations: 179.8 kB / 3.176 GB, free: 96.88 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008257/7.778, allocations: 88.72 kB / 3.176 GB, free: 96.79 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.714e-05/7.778, allocations: 15.98 kB / 3.176 GB, free: 96.78 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002195/7.78, allocations: 1.493 MB / 3.178 GB, free: 95.16 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/7.78, allocations: 0 / 3.178 GB, free: 95.16 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002819/7.783, allocations: 1.013 MB / 3.179 GB, free: 94.12 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000677/7.783, allocations: 339.5 kB / 3.179 GB, free: 93.77 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001968/7.784, allocations: 15.98 kB / 3.179 GB, free: 93.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001295/7.785, allocations: 51.95 kB / 3.179 GB, free: 93.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002081/7.785, allocations: 81.08 kB / 3.179 GB, free: 93.62 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001114/7.785, allocations: 43.92 kB / 3.179 GB, free: 93.58 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0008515/7.786, allocations: 0.4913 MB / 3.18 GB, free: 93.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.01e-07/7.786, allocations: 8 kB / 3.18 GB, free: 93.09 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001584/7.788, allocations: 370.7 kB / 3.18 GB, free: 92.73 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.conTim.tNext,weaDat.conTimMin.tNext) * 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.005069/7.793, allocations: 2.504 MB / 3.182 GB, free: 90.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002762/7.796, allocations: 0.8357 MB / 3.183 GB, free: 89.46 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/7.796, allocations: 4 kB / 3.183 GB, free: 89.45 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001875/7.798, allocations: 0.53 MB / 3.184 GB, free: 88.92 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00293/7.801, allocations: 227.9 kB / 3.184 GB, free: 88.69 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01082/7.811, allocations: 1.865 MB / 3.186 GB, free: 86.78 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001153/7.813, allocations: 1.149 MB / 3.187 GB, free: 85.61 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002539/7.815, allocations: 287.2 kB / 3.187 GB, free: 85.32 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001643/7.817, allocations: 495.2 kB / 3.188 GB, free: 84.84 MB / 0.8698 GB Notification: Performance of SimCode: time 1.854e-06/7.817, allocations: 0 / 3.188 GB, free: 84.84 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09774/7.915, allocations: 27.46 MB / 3.214 GB, free: 57.48 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002528/7.915, allocations: 200.6 kB / 3.215 GB, free: 57.21 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.688/11.6, allocations: 0 / 3.215 GB, free: 57.21 MB / 0.8698 GB