Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.564/2.564, allocations: 287.9 MB / 302.9 MB, free: 8.352 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001467/0.001466, allocations: 179.4 kB / 371.4 MB, free: 10.65 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.023/2.023, allocations: 205.4 MB / 0.6301 GB, free: 10.38 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001022/0.001022, allocations: 92.48 kB / 0.7434 GB, free: 6.398 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004747/0.000475, allocations: 11 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1608, allocations: 115.3 MB / 0.9788 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented): time 0.008623/0.1695, allocations: 6.96 MB / 0.9855 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7223/0.8919, allocations: 128.8 MB / 1.111 GB, free: 2.316 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001438/0.8934, allocations: 30.08 kB / 1.111 GB, free: 2.305 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007403/0.8941, allocations: 147.1 kB / 1.112 GB, free: 2.242 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002823/0.897, allocations: 0.6437 MB / 1.112 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003634/0.9006, allocations: 0.865 MB / 1.113 GB, free: 2.148 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002834/0.9035, allocations: 1.252 MB / 1.114 GB, free: 2.09 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002695/0.9062, allocations: 1.379 MB / 1.116 GB, free: 1.77 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001529/0.9078, allocations: 0.5956 MB / 1.116 GB, free: 1.621 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001392/0.9092, allocations: 0.5979 MB / 1.117 GB, free: 1.453 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.000316/0.9096, allocations: 46.69 kB / 1.117 GB, free: 1.453 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001446/0.911, allocations: 325.9 kB / 1.117 GB, free: 1.449 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0005214/0.9116, allocations: 323.9 kB / 1.117 GB, free: 1.387 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0005052/0.9121, allocations: 334.1 kB / 1.118 GB, free: 1.297 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003466/0.9156, allocations: 2.212 MB / 1.12 GB, free: 1.152 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.894e-06/0.9156, allocations: 4 kB / 1.12 GB, free: 1.148 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.815e-06/0.9156, allocations: 0 / 1.12 GB, free: 1.148 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.027e-05/0.9157, allocations: 0 / 1.12 GB, free: 1.148 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 435 * Number of variables: 435 Notification: Performance of Generate backend data structure: time 0.004744/0.9205, allocations: 1.788 MB / 1.122 GB, free: 16.17 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.9205, allocations: 9 kB / 1.122 GB, free: 16.17 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008259/0.9288, allocations: 0.9519 MB / 1.123 GB, free: 16.04 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002729/0.9316, allocations: 1.1 MB / 1.124 GB, free: 15.65 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001203/0.9318, allocations: 124.2 kB / 1.124 GB, free: 15.64 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003973/0.9322, allocations: 160.2 kB / 1.124 GB, free: 15.64 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006877/0.9391, allocations: 2.168 MB / 1.126 GB, free: 15.22 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.785e-05/0.9392, allocations: 0 / 1.126 GB, free: 15.22 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002615/0.9394, allocations: 70.44 kB / 1.126 GB, free: 15.22 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001137/0.9396, allocations: 82.06 kB / 1.126 GB, free: 15.21 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008762/0.9483, allocations: 2.515 MB / 1.129 GB, free: 14.64 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01669/0.9651, allocations: 6.994 MB / 1.135 GB, free: 11.03 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005933/0.9711, allocations: 1.612 MB / 1.137 GB, free: 10.73 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009036/0.972, allocations: 489.4 kB / 1.137 GB, free: 10.23 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003147/0.9752, allocations: 0.9281 MB / 1.138 GB, free: 9.887 MB / 0.698 GB Notification: Performance of pre-optimization done (n=128): time 5.4e-06/0.9752, allocations: 0 / 1.138 GB, free: 9.887 MB / 0.698 GB Notification: Performance of matching and sorting (n=128): time 0.008664/0.9839, allocations: 2.199 MB / 1.141 GB, free: 9.363 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002011/0.9841, allocations: 304.9 kB / 1.141 GB, free: 9.012 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001754/0.9859, allocations: 0.8473 MB / 1.142 GB, free: 8.73 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000332/0.9862, allocations: 49.08 kB / 1.142 GB, free: 8.699 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007583/0.987, allocations: 0.679 MB / 1.142 GB, free: 8.301 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006481/0.9877, allocations: 433.4 kB / 1.143 GB, free: 7.984 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.9878, allocations: 25.22 kB / 1.143 GB, free: 7.984 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002186/0.988, allocations: 355.3 kB / 1.143 GB, free: 7.66 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002371/0.9904, allocations: 0.5855 MB / 1.144 GB, free: 7.562 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002888/0.9933, allocations: 0.8106 MB / 1.144 GB, free: 7.234 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002629/0.996, allocations: 0.6713 MB / 1.145 GB, free: 7.137 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.321e-05/0.9961, allocations: 1.281 kB / 1.145 GB, free: 7.137 MB / 0.698 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.006184/1.002, allocations: 1.623 MB / 1.147 GB, free: 6.777 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008477/1.003, allocations: 1.489 MB / 1.148 GB, free: 5.215 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/1.003, allocations: 2.688 kB / 1.148 GB, free: 5.215 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002502/1.003, allocations: 35.91 kB / 1.148 GB, free: 5.203 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002538/1.006, allocations: 327.1 kB / 1.149 GB, free: 5.121 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001597/1.008, allocations: 1.293 MB / 1.15 GB, free: 3.824 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002134/1.01, allocations: 190.7 kB / 1.15 GB, free: 3.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000241/1.01, allocations: 54.16 kB / 1.15 GB, free: 3.723 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/1.01, allocations: 4.062 kB / 1.15 GB, free: 3.723 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005666/1.016, allocations: 1.491 MB / 1.152 GB, free: 3.461 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.895e-05/1.016, allocations: 3.531 kB / 1.152 GB, free: 3.461 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/1.016, allocations: 14 kB / 1.152 GB, free: 3.457 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002435/1.018, allocations: 328.3 kB / 1.152 GB, free: 3.375 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.889e-05/1.018, allocations: 10.09 kB / 1.152 GB, free: 3.375 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001974/1.02, allocations: 181.6 kB / 1.152 GB, free: 3.293 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002575/1.021, allocations: 60.05 kB / 1.152 GB, free: 3.277 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (148): * Single equations (assignments): 147 * 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 1} Notification: Performance of prepare postOptimizeDAE: time 0.001305/1.022, allocations: 481.7 kB / 1.153 GB, free: 3.051 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004198/1.022, allocations: 125.6 kB / 1.153 GB, free: 2.984 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006891/1.029, allocations: 1.891 MB / 1.154 GB, free: 2.488 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.928e-05/1.029, allocations: 13.12 kB / 1.155 GB, free: 2.488 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.3e-06/1.029, allocations: 2.625 kB / 1.155 GB, free: 2.488 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.883e-05/1.029, allocations: 3.984 kB / 1.155 GB, free: 2.484 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009901/1.039, allocations: 3.76 MB / 1.158 GB, free: 1.188 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/1.039, allocations: 2.938 kB / 1.158 GB, free: 1.188 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002311/1.042, allocations: 299.9 kB / 1.158 GB, free: 1.117 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001786/1.042, allocations: 25.28 kB / 1.158 GB, free: 1.105 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002666/1.042, allocations: 43.73 kB / 1.159 GB, free: 1.094 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001346/1.044, allocations: 1.278 MB / 1.16 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.708e-06/1.044, allocations: 0 / 1.16 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005873/1.049, allocations: 1.753 MB / 1.162 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001207/1.051, allocations: 421.5 kB / 1.162 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003096/1.051, allocations: 26.36 kB / 1.162 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001739/1.053, allocations: 139.2 kB / 1.162 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002725/1.053, allocations: 85.97 kB / 1.162 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001842/1.053, allocations: 53.98 kB / 1.162 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00112/1.054, allocations: 0.5847 MB / 1.163 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9.34e-07/1.054, allocations: 2.281 kB / 1.163 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002751/1.057, allocations: 0.74 MB / 1.163 GB, free: 14.59 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (141): * Single equations (assignments): 138 * 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002081/1.059, allocations: 0.593 MB / 1.164 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.008333/1.068, allocations: 2.415 MB / 1.166 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.743e-06/1.068, allocations: 6.594 kB / 1.166 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002838/1.071, allocations: 0.9148 MB / 1.167 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001853/1.072, allocations: 296.6 kB / 1.168 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008117/1.081, allocations: 3.542 MB / 1.171 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001287/1.082, allocations: 1.32 MB / 1.172 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003806/1.086, allocations: 0.5263 MB / 1.173 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007565/1.087, allocations: 144.1 kB / 1.173 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of SimCode: time 1.668e-06/1.087, allocations: 2.844 kB / 1.173 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of Templates: time 0.04915/1.136, allocations: 18.61 MB / 1.191 GB, free: 9.375 MB / 0.7292 GB