Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.DC.Sources.Examples.PVSimple.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.PVSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.DC.Sources.Examples.PVSimple") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.677/4.677, allocations: 0.5623 GB / 0.5769 GB, free: 3.316 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002337/0.002337, allocations: 356.8 kB / 0.644 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.903/3.903, allocations: 410.7 MB / 1.112 GB, free: 5.914 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001761/0.001761, allocations: 181.3 kB / 1.225 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004956/0.0004958, allocations: 15.98 kB / 1.348 GB, free: 8.188 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5747/0.5752, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.PVSimple): time 0.007841/0.5831, allocations: 6.662 MB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1388/0.7219, allocations: 137.8 MB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001021/0.723, allocations: 27.88 kB / 1.602 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0004446/0.7235, allocations: 138.8 kB / 1.602 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001818/0.7253, allocations: 0.6133 MB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.002523/0.7278, allocations: 0.8488 MB / 1.603 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001863/0.7297, allocations: 1.897 MB / 1.605 GB, free: 136.4 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001648/0.7314, allocations: 1.258 MB / 1.606 GB, free: 135.1 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006351/0.732, allocations: 0.5443 MB / 1.607 GB, free: 134.6 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008109/0.7329, allocations: 0.6608 MB / 1.608 GB, free: 133.9 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001519/0.733, allocations: 48 kB / 1.608 GB, free: 133.8 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008795/0.7339, allocations: 363.4 kB / 1.608 GB, free: 133.5 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002947/0.7342, allocations: 326.6 kB / 1.608 GB, free: 133.2 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002484/0.7345, allocations: 312.8 kB / 1.609 GB, free: 132.9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001709/0.7362, allocations: 1.905 MB / 1.611 GB, free: 130.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.7362, allocations: 0 / 1.611 GB, free: 130.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.022e-06/0.7363, allocations: 7.938 kB / 1.611 GB, free: 130.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.007e-05/0.7363, allocations: 0 / 1.611 GB, free: 130.9 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 408 * Number of variables: 408 Notification: Performance of Generate backend data structure: time 0.003192/0.7395, allocations: 1.723 MB / 1.612 GB, free: 129.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.7395, allocations: 9.109 kB / 1.612 GB, free: 129.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006728/0.7463, allocations: 0.942 MB / 1.613 GB, free: 128.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001865/0.7482, allocations: 0.9889 MB / 1.614 GB, free: 127.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.435e-05/0.7483, allocations: 111.2 kB / 1.614 GB, free: 127.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002524/0.7486, allocations: 160 kB / 1.614 GB, free: 126.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004783/0.7534, allocations: 2.055 MB / 1.616 GB, free: 124.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.022e-05/0.7534, allocations: 0 / 1.616 GB, free: 124.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001997/0.7536, allocations: 64 kB / 1.616 GB, free: 124.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.134e-05/0.7537, allocations: 78.92 kB / 1.616 GB, free: 124.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006505/0.7602, allocations: 2.404 MB / 1.619 GB, free: 122.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01154/0.7718, allocations: 6.394 MB / 1.625 GB, free: 115.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004629/0.7765, allocations: 1.573 MB / 1.627 GB, free: 114 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002119/0.7786, allocations: 0.746 MB / 1.627 GB, free: 113.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006304/0.7793, allocations: 486.7 kB / 1.628 GB, free: 112.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002303/0.7816, allocations: 0.9133 MB / 1.629 GB, free: 111.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=128): time 4.596e-06/0.7817, allocations: 0 / 1.629 GB, free: 111.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=128): time 0.006689/0.7884, allocations: 2.168 MB / 1.631 GB, free: 109.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.689e-05/0.7885, allocations: 299.7 kB / 1.631 GB, free: 109.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001208/0.7897, allocations: 0.8398 MB / 1.632 GB, free: 108.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001391/0.7898, allocations: 53.7 kB / 1.632 GB, free: 108.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004575/0.7903, allocations: 0.6284 MB / 1.633 GB, free: 107.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003371/0.7907, allocations: 425.8 kB / 1.633 GB, free: 107.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.7908, allocations: 24 kB / 1.633 GB, free: 107.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.868e-05/0.7909, allocations: 357.9 kB / 1.633 GB, free: 106.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00195/0.7928, allocations: 0.5959 MB / 1.634 GB, free: 106.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002109/0.795, allocations: 0.7926 MB / 1.635 GB, free: 105.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00206/0.797, allocations: 0.67 MB / 1.635 GB, free: 104.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.213e-06/0.7971, allocations: 4 kB / 1.635 GB, free: 104.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.004871/0.802, allocations: 1.644 MB / 1.637 GB, free: 103.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.955e-05/0.8021, allocations: 172.7 kB / 1.637 GB, free: 102.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.8021, allocations: 4 kB / 1.637 GB, free: 102.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002255/0.8023, allocations: 40.83 kB / 1.637 GB, free: 102.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002104/0.8045, allocations: 339.5 kB / 1.638 GB, free: 102.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001024/0.8055, allocations: 1.299 MB / 1.639 GB, free: 101.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001726/0.8072, allocations: 194.8 kB / 1.639 GB, free: 100.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001635/0.8074, allocations: 59.94 kB / 1.639 GB, free: 100.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.2e-06/0.8074, allocations: 4 kB / 1.639 GB, free: 100.8 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004515/0.812, allocations: 1.514 MB / 1.641 GB, free: 99.31 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.812, allocations: 4 kB / 1.641 GB, free: 99.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.812, allocations: 15.98 kB / 1.641 GB, free: 99.29 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00212/0.8142, allocations: 335.7 kB / 1.641 GB, free: 98.96 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.631e-05/0.8142, allocations: 11.98 kB / 1.641 GB, free: 98.95 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001575/0.8158, allocations: 186.9 kB / 1.641 GB, free: 98.77 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000161/0.816, allocations: 59.95 kB / 1.641 GB, free: 98.71 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 155 * 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.0008498/0.8168, allocations: 447 kB / 1.642 GB, free: 98.26 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002481/0.8171, allocations: 118.6 kB / 1.642 GB, free: 98.14 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005595/0.8227, allocations: 1.889 MB / 1.643 GB, free: 96.24 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.555e-05/0.8227, allocations: 16 kB / 1.643 GB, free: 96.23 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.698e-06/0.8227, allocations: 7.938 kB / 1.644 GB, free: 96.22 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.834e-05/0.8228, allocations: 7.969 kB / 1.644 GB, free: 96.21 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007356/0.8301, allocations: 3.636 MB / 1.647 GB, free: 92.49 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.556e-06/0.8302, allocations: 3.938 kB / 1.647 GB, free: 92.49 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001932/0.8321, allocations: 299.7 kB / 1.647 GB, free: 92.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001405/0.8323, allocations: 28.84 kB / 1.647 GB, free: 92.16 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001276/0.8324, allocations: 39.95 kB / 1.647 GB, free: 92.12 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008147/0.8332, allocations: 1.292 MB / 1.649 GB, free: 90.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.984e-06/0.8333, allocations: 4.156 kB / 1.649 GB, free: 90.69 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004974/0.8383, allocations: 1.716 MB / 1.65 GB, free: 88.95 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007431/0.839, allocations: 399 kB / 1.651 GB, free: 88.54 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002662/0.8393, allocations: 31.98 kB / 1.651 GB, free: 88.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0018/0.8411, allocations: 139.8 kB / 1.651 GB, free: 88.37 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001936/0.8413, allocations: 89.14 kB / 1.651 GB, free: 88.28 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001482/0.8415, allocations: 55.97 kB / 1.651 GB, free: 88.22 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0009184/0.8424, allocations: 0.5904 MB / 1.652 GB, free: 87.62 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.81e-07/0.8424, allocations: 0 / 1.652 GB, free: 87.62 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00204/0.8445, allocations: 0.7434 MB / 1.652 GB, free: 86.88 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (142): * Single equations (assignments): 139 * 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.001767/0.8463, allocations: 0.5704 MB / 1.653 GB, free: 86.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.006815/0.8531, allocations: 2.455 MB / 1.655 GB, free: 84.04 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.396e-06/0.8531, allocations: 0 / 1.655 GB, free: 84.04 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002332/0.8555, allocations: 0.8967 MB / 1.656 GB, free: 83.12 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001747/0.8572, allocations: 316.6 kB / 1.656 GB, free: 82.82 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005771/0.863, allocations: 3.441 MB / 1.66 GB, free: 79.34 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008077/0.8639, allocations: 1.288 MB / 1.661 GB, free: 78.02 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.003221/0.8671, allocations: 0.5192 MB / 1.662 GB, free: 77.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006548/0.8678, allocations: 155.3 kB / 1.662 GB, free: 77.35 MB / 0.8542 GB Notification: Performance of SimCode: time 1.762e-06/0.8678, allocations: 0 / 1.662 GB, free: 77.35 MB / 0.8542 GB Notification: Performance of Templates: time 0.03945/0.9073, allocations: 18.93 MB / 1.68 GB, free: 58.69 MB / 0.8542 GB