Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.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.AC.OnePhase.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.439/5.439, allocations: 0.5623 GB / 0.5776 GB, free: 3.328 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.002541/0.00254, allocations: 357.8 kB / 0.6447 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 4.623/4.623, allocations: 410.7 MB / 1.113 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002731/0.00273, allocations: 176.3 kB / 1.226 GB, free: 35.96 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005151/0.0005156, allocations: 12.91 kB / 1.349 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2629/0.2634, allocations: 115.2 MB / 1.461 GB, free: 6.578 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels): time 0.03851/0.302, allocations: 8.378 MB / 1.47 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.9281/1.23, allocations: 138.8 MB / 1.605 GB, free: 8.5 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001975/1.232, allocations: 33.66 kB / 1.605 GB, free: 8.488 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001011/1.233, allocations: 180.9 kB / 1.605 GB, free: 8.383 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.004212/1.237, allocations: 0.7666 MB / 1.606 GB, free: 7.93 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.005282/1.243, allocations: 1.138 MB / 1.607 GB, free: 7.371 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.005742/1.249, allocations: 2.7 MB / 1.61 GB, free: 6.078 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006363/1.255, allocations: 2.287 MB / 1.612 GB, free: 4.582 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002178/1.257, allocations: 0.799 MB / 1.613 GB, free: 4.145 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002563/1.26, allocations: 0.9714 MB / 1.614 GB, free: 3.531 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.000548/1.26, allocations: 65.59 kB / 1.614 GB, free: 3.531 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00187/1.262, allocations: 418.8 kB / 1.614 GB, free: 3.363 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0008364/1.263, allocations: 464.6 kB / 1.615 GB, free: 3.055 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0008071/1.264, allocations: 461.2 kB / 1.615 GB, free: 2.742 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.00573/1.27, allocations: 3.146 MB / 1.618 GB, free: 356 kB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/1.27, allocations: 0 / 1.618 GB, free: 356 kB / 0.6823 GB Notification: Performance of FrontEnd: time 2.865e-06/1.27, allocations: 3.625 kB / 1.618 GB, free: 356 kB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001425/1.27, allocations: 0 / 1.618 GB, free: 356 kB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 653 * Number of variables: 653 Notification: Performance of Generate backend data structure: time 0.008677/1.279, allocations: 2.383 MB / 1.62 GB, free: 14.61 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/1.279, allocations: 7.812 kB / 1.62 GB, free: 14.61 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02014/1.299, allocations: 1.667 MB / 1.622 GB, free: 13.88 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004121/1.303, allocations: 1.408 MB / 1.623 GB, free: 12.75 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002159/1.303, allocations: 194.5 kB / 1.624 GB, free: 12.66 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009911/1.304, allocations: 241.7 kB / 1.624 GB, free: 12.58 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0146/1.319, allocations: 3.433 MB / 1.627 GB, free: 10.45 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001052/1.319, allocations: 9.031 kB / 1.627 GB, free: 10.44 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005459/1.32, allocations: 102 kB / 1.627 GB, free: 10.36 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001898/1.32, allocations: 126.2 kB / 1.627 GB, free: 10.34 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01945/1.339, allocations: 3.918 MB / 1.631 GB, free: 8.441 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0294/1.369, allocations: 10.04 MB / 1.641 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01474/1.384, allocations: 2.691 MB / 1.644 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006556/1.39, allocations: 1.268 MB / 1.645 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001382/1.392, allocations: 0.5786 MB / 1.646 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007506/1.399, allocations: 1.523 MB / 1.647 GB, free: 9.199 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=194): time 6.732e-06/1.399, allocations: 4 kB / 1.647 GB, free: 9.195 MB / 0.7136 GB Notification: Performance of matching and sorting (n=195): time 0.02225/1.421, allocations: 4.257 MB / 1.651 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001793/1.422, allocations: 257.3 kB / 1.651 GB, free: 4.617 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002442/1.424, allocations: 1.089 MB / 1.652 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0006089/1.425, allocations: 57.7 kB / 1.653 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001205/1.426, allocations: 0.9327 MB / 1.653 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.001371/1.427, allocations: 0.6391 MB / 1.654 GB, free: 1.863 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002741/1.428, allocations: 36 kB / 1.654 GB, free: 1.828 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002566/1.428, allocations: 377.9 kB / 1.654 GB, free: 1.453 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006253/1.434, allocations: 1.07 MB / 1.655 GB, free: 392 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006869/1.441, allocations: 1.388 MB / 1.657 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006649/1.448, allocations: 1.181 MB / 1.658 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.335e-05/1.448, allocations: 0 / 1.658 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of matching and sorting (n=237) (initialization): time 0.01503/1.463, allocations: 2.78 MB / 1.661 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002808/1.463, allocations: 292.4 kB / 1.661 GB, free: 10.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.982e-05/1.463, allocations: 4.219 kB / 1.661 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.171e-05/1.463, allocations: 16 kB / 1.661 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006579/1.47, allocations: 0.5538 MB / 1.662 GB, free: 9.984 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.337e-05/1.47, allocations: 19.94 kB / 1.662 GB, free: 9.965 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004779/1.475, allocations: 278.6 kB / 1.662 GB, free: 9.691 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006496/1.476, allocations: 91.92 kB / 1.662 GB, free: 9.602 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/1.476, allocations: 6.812 kB / 1.662 GB, free: 9.598 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01393/1.49, allocations: 2.565 MB / 1.664 GB, free: 7.031 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.31e-05/1.49, allocations: 8 kB / 1.664 GB, free: 7.023 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.928e-05/1.49, allocations: 16 kB / 1.664 GB, free: 7.008 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006286/1.496, allocations: 0.5388 MB / 1.665 GB, free: 6.469 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.325e-05/1.496, allocations: 19.94 kB / 1.665 GB, free: 6.449 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004525/1.501, allocations: 270.6 kB / 1.665 GB, free: 6.184 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005712/1.501, allocations: 99.91 kB / 1.665 GB, free: 6.086 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (237): * Single equations (assignments): 237 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002109/1.503, allocations: 0.5819 MB / 1.666 GB, free: 5.496 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006803/1.504, allocations: 165.9 kB / 1.666 GB, free: 5.332 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01699/1.521, allocations: 3.13 MB / 1.669 GB, free: 2.18 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.678e-05/1.521, allocations: 11.95 kB / 1.669 GB, free: 2.168 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/1.521, allocations: 3.984 kB / 1.669 GB, free: 2.164 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00191/1.523, allocations: 0.5722 MB / 1.67 GB, free: 1.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006039/1.524, allocations: 39.98 kB / 1.67 GB, free: 1.531 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004574/1.528, allocations: 235.7 kB / 1.67 GB, free: 1.301 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005368/1.529, allocations: 121.8 kB / 1.67 GB, free: 1.184 MB / 0.7292 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01783/1.547, allocations: 2.981 MB / 1.673 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01454/1.561, allocations: 2.899 MB / 1.676 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006494/1.568, allocations: 1.269 MB / 1.677 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001874/1.57, allocations: 0.7831 MB / 1.678 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of Backend: time 6.71e-07/1.57, allocations: 0 / 1.678 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.01889/1.589, allocations: 3.62 MB / 1.681 GB, free: 5.812 MB / 0.7448 GB Notification: Performance of SimCode: time 0.01253/1.601, allocations: 4.916 MB / 1.686 GB, free: 0.8398 MB / 0.7448 GB Notification: Performance of Templates: time 0.1406/1.742, allocations: 45.64 MB / 1.731 GB, free: 3.375 MB / 0.7917 GB