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 4.62/4.62, allocations: 0.5623 GB / 0.5769 GB, free: 3.34 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.002379/0.002378, allocations: 357.3 kB / 0.644 GB, free: 185.6 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.875/3.875, allocations: 410.7 MB / 1.112 GB, free: 6.016 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.00175/0.00175, allocations: 172 kB / 1.225 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.000474/0.0004741, allocations: 12 kB / 1.348 GB, free: 8.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5746/0.5751, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented): time 0.008233/0.5834, allocations: 7.141 MB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1338/0.7172, allocations: 137.9 MB / 1.602 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001389/0.7187, allocations: 31.81 kB / 1.602 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0006309/0.7194, allocations: 134.8 kB / 1.603 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.002256/0.7216, allocations: 0.6315 MB / 1.603 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.002798/0.7244, allocations: 0.8584 MB / 1.604 GB, free: 137.7 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.002239/0.7267, allocations: 2.018 MB / 1.606 GB, free: 135.7 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001864/0.7286, allocations: 1.386 MB / 1.607 GB, free: 134.3 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007915/0.7294, allocations: 0.5713 MB / 1.608 GB, free: 133.7 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008793/0.7303, allocations: 0.6841 MB / 1.609 GB, free: 133.1 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001571/0.7305, allocations: 48 kB / 1.609 GB, free: 133 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008978/0.7314, allocations: 355.4 kB / 1.609 GB, free: 132.7 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002972/0.7317, allocations: 334.6 kB / 1.609 GB, free: 132.3 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002872/0.732, allocations: 336.7 kB / 1.61 GB, free: 132 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.002015/0.734, allocations: 2.205 MB / 1.612 GB, free: 129.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.911e-06/0.734, allocations: 0 / 1.612 GB, free: 129.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.878e-06/0.7341, allocations: 0 / 1.612 GB, free: 129.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.955e-05/0.7341, allocations: 0 / 1.612 GB, free: 129.8 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: 435 * Number of variables: 435 Notification: Performance of Generate backend data structure: time 0.003344/0.7374, allocations: 1.79 MB / 1.613 GB, free: 127.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.7375, allocations: 11.62 kB / 1.613 GB, free: 127.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006818/0.7443, allocations: 0.9575 MB / 1.614 GB, free: 127 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002101/0.7465, allocations: 1.083 MB / 1.615 GB, free: 125.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/0.7466, allocations: 131.3 kB / 1.616 GB, free: 125.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002718/0.7469, allocations: 160 kB / 1.616 GB, free: 125.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005084/0.752, allocations: 2.187 MB / 1.618 GB, free: 123.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.166e-05/0.752, allocations: 3.938 kB / 1.618 GB, free: 123.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000216/0.7523, allocations: 83.97 kB / 1.618 GB, free: 123.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.515e-05/0.7524, allocations: 75.17 kB / 1.618 GB, free: 123.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006896/0.7593, allocations: 2.51 MB / 1.62 GB, free: 120.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01228/0.7716, allocations: 6.995 MB / 1.627 GB, free: 113.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004817/0.7765, allocations: 1.593 MB / 1.629 GB, free: 111.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002216/0.7787, allocations: 0.757 MB / 1.63 GB, free: 111 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006348/0.7794, allocations: 482.6 kB / 1.63 GB, free: 110.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002357/0.7818, allocations: 0.9289 MB / 1.631 GB, free: 109.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=128): time 4.701e-06/0.7818, allocations: 0 / 1.631 GB, free: 109.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=128): time 0.006873/0.7887, allocations: 2.192 MB / 1.633 GB, free: 107.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.832e-05/0.7888, allocations: 299.7 kB / 1.633 GB, free: 106.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/0.7901, allocations: 0.8623 MB / 1.634 GB, free: 106.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001503/0.7902, allocations: 49.7 kB / 1.634 GB, free: 106 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004786/0.7907, allocations: 0.6635 MB / 1.635 GB, free: 105.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003382/0.7911, allocations: 433.7 kB / 1.635 GB, free: 104.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.7912, allocations: 20 kB / 1.635 GB, free: 104.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.091e-05/0.7913, allocations: 361.8 kB / 1.636 GB, free: 104.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001974/0.7933, allocations: 0.6077 MB / 1.636 GB, free: 103.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002151/0.7954, allocations: 0.8195 MB / 1.637 GB, free: 103 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002085/0.7975, allocations: 0.6701 MB / 1.638 GB, free: 102.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.176e-06/0.7976, allocations: 0 / 1.638 GB, free: 102.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.004922/0.8025, allocations: 1.664 MB / 1.639 GB, free: 100.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.556e-05/0.8026, allocations: 212.2 kB / 1.64 GB, free: 100.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.8027, allocations: 7.938 kB / 1.64 GB, free: 100.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002197/0.8029, allocations: 40.84 kB / 1.64 GB, free: 100.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002057/0.805, allocations: 331.5 kB / 1.64 GB, free: 100.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00102/0.806, allocations: 1.292 MB / 1.641 GB, free: 98.63 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001695/0.8077, allocations: 194.8 kB / 1.641 GB, free: 98.44 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001651/0.8079, allocations: 63.95 kB / 1.641 GB, free: 98.38 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.05e-06/0.8079, allocations: 7.938 kB / 1.641 GB, free: 98.37 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004563/0.8125, allocations: 1.526 MB / 1.643 GB, free: 96.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.8125, allocations: 4 kB / 1.643 GB, free: 96.84 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.8125, allocations: 12 kB / 1.643 GB, free: 96.82 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002075/0.8146, allocations: 339.7 kB / 1.643 GB, free: 96.49 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.694e-05/0.8147, allocations: 11.94 kB / 1.643 GB, free: 96.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001573/0.8162, allocations: 190.8 kB / 1.643 GB, free: 96.29 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001612/0.8164, allocations: 59.95 kB / 1.644 GB, free: 96.23 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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.0009198/0.8174, allocations: 482.9 kB / 1.644 GB, free: 95.75 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002539/0.8176, allocations: 122.5 kB / 1.644 GB, free: 95.63 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005663/0.8233, allocations: 1.889 MB / 1.646 GB, free: 93.73 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.762e-05/0.8234, allocations: 15.95 kB / 1.646 GB, free: 93.72 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.339e-06/0.8234, allocations: 0 / 1.646 GB, free: 93.72 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.822e-05/0.8234, allocations: 7.984 kB / 1.646 GB, free: 93.71 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008013/0.8314, allocations: 3.815 MB / 1.65 GB, free: 89.81 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.169e-06/0.8315, allocations: 0 / 1.65 GB, free: 89.81 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001944/0.8334, allocations: 307.6 kB / 1.65 GB, free: 89.51 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001432/0.8336, allocations: 28.8 kB / 1.65 GB, free: 89.48 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001349/0.8338, allocations: 43.95 kB / 1.65 GB, free: 89.44 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008447/0.8346, allocations: 1.28 MB / 1.651 GB, free: 88.02 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.841e-06/0.8346, allocations: 0 / 1.651 GB, free: 88.02 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004739/0.8394, allocations: 1.743 MB / 1.653 GB, free: 86.25 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007126/0.8401, allocations: 411 kB / 1.653 GB, free: 85.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002341/0.8404, allocations: 32 kB / 1.653 GB, free: 85.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001479/0.8419, allocations: 131.6 kB / 1.654 GB, free: 85.67 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001912/0.8421, allocations: 93.19 kB / 1.654 GB, free: 85.57 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001562/0.8422, allocations: 51.95 kB / 1.654 GB, free: 85.52 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0009042/0.8432, allocations: 0.5865 MB / 1.654 GB, free: 84.93 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.46e-07/0.8432, allocations: 0 / 1.654 GB, free: 84.93 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002089/0.8453, allocations: 0.7625 MB / 1.655 GB, free: 84.16 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.001785/0.8471, allocations: 0.5814 MB / 1.656 GB, free: 83.78 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.006924/0.854, allocations: 2.482 MB / 1.658 GB, free: 81.29 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.805e-06/0.8541, allocations: 0 / 1.658 GB, free: 81.29 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002369/0.8564, allocations: 0.92 MB / 1.659 GB, free: 80.36 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001795/0.8583, allocations: 326 kB / 1.659 GB, free: 80.04 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006015/0.8643, allocations: 3.571 MB / 1.663 GB, free: 76.43 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008456/0.8652, allocations: 1.312 MB / 1.664 GB, free: 75.09 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.003394/0.8686, allocations: 0.5273 MB / 1.665 GB, free: 74.56 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006331/0.8692, allocations: 147.3 kB / 1.665 GB, free: 74.41 MB / 0.8542 GB Notification: Performance of SimCode: time 1.761e-06/0.8692, allocations: 0 / 1.665 GB, free: 74.41 MB / 0.8542 GB Notification: Performance of Templates: time 0.03935/0.9086, allocations: 18.64 MB / 1.683 GB, free: 56.06 MB / 0.8542 GB