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 2.871/2.871, allocations: 287.9 MB / 302.9 MB, free: 8.305 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.001408/0.001407, allocations: 178.5 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.037/2.037, allocations: 205.4 MB / 0.6301 GB, free: 10.3 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.001036/0.001036, allocations: 94.09 kB / 0.7434 GB, free: 6.305 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004713/0.0004716, allocations: 16.38 kB / 0.8662 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1589, allocations: 115.3 MB / 0.9788 GB, free: 28.14 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels): time 0.0097/0.1687, allocations: 8.176 MB / 0.9867 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8254/0.9941, allocations: 129.7 MB / 1.113 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001739/0.9959, allocations: 28.44 kB / 1.113 GB, free: 2.238 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007377/0.9966, allocations: 181.3 kB / 1.114 GB, free: 2.152 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.003495/1, allocations: 0.8 MB / 1.114 GB, free: 2.082 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004225/1.004, allocations: 1.133 MB / 1.115 GB, free: 2.043 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003624/1.008, allocations: 1.678 MB / 1.117 GB, free: 1.957 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004671/1.013, allocations: 2.278 MB / 1.119 GB, free: 1.523 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001774/1.015, allocations: 0.8142 MB / 1.12 GB, free: 1.32 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001615/1.016, allocations: 0.868 MB / 1.121 GB, free: 1.086 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003714/1.017, allocations: 66.14 kB / 1.121 GB, free: 1.086 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00153/1.018, allocations: 395.7 kB / 1.121 GB, free: 1.074 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0005785/1.019, allocations: 455.6 kB / 1.122 GB, free: 0.9883 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0006275/1.019, allocations: 454.6 kB / 1.122 GB, free: 0.8711 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004416/1.024, allocations: 3.148 MB / 1.125 GB, free: 0.6758 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.41e-06/1.024, allocations: 0 / 1.125 GB, free: 0.6758 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.409e-06/1.024, allocations: 2.469 kB / 1.125 GB, free: 0.6758 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001027/1.024, allocations: 0 / 1.125 GB, free: 0.6758 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: 653 * Number of variables: 653 Notification: Performance of Generate backend data structure: time 0.006428/1.03, allocations: 2.385 MB / 1.128 GB, free: 15.29 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/1.03, allocations: 17.03 kB / 1.128 GB, free: 15.28 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01383/1.044, allocations: 1.664 MB / 1.129 GB, free: 14.56 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00364/1.048, allocations: 1.411 MB / 1.131 GB, free: 13.85 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001942/1.048, allocations: 190.8 kB / 1.131 GB, free: 13.84 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007793/1.049, allocations: 248.5 kB / 1.131 GB, free: 13.84 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01135/1.06, allocations: 3.401 MB / 1.134 GB, free: 12.72 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.247e-05/1.061, allocations: 4 kB / 1.134 GB, free: 12.72 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000411/1.061, allocations: 107 kB / 1.135 GB, free: 12.71 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001729/1.061, allocations: 123.3 kB / 1.135 GB, free: 12.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0149/1.076, allocations: 3.921 MB / 1.139 GB, free: 11.82 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02396/1.1, allocations: 10.04 MB / 1.148 GB, free: 6.238 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009967/1.11, allocations: 2.704 MB / 1.151 GB, free: 5.707 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001094/1.111, allocations: 0.5838 MB / 1.152 GB, free: 5.105 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005159/1.116, allocations: 1.514 MB / 1.153 GB, free: 4.605 MB / 0.698 GB Notification: Performance of pre-optimization done (n=194): time 6.692e-06/1.116, allocations: 0 / 1.153 GB, free: 4.605 MB / 0.698 GB Notification: Performance of matching and sorting (n=195): time 0.01508/1.132, allocations: 4.267 MB / 1.157 GB, free: 3.352 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001837/1.132, allocations: 261 kB / 1.157 GB, free: 3.066 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001893/1.134, allocations: 1.089 MB / 1.158 GB, free: 2.738 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004367/1.134, allocations: 62.3 kB / 1.159 GB, free: 2.707 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009602/1.135, allocations: 0.9282 MB / 1.159 GB, free: 2.156 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009548/1.136, allocations: 0.6359 MB / 1.16 GB, free: 1.688 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001959/1.136, allocations: 36.97 kB / 1.16 GB, free: 1.688 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002254/1.137, allocations: 375.4 kB / 1.16 GB, free: 1.359 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003972/1.141, allocations: 1.048 MB / 1.161 GB, free: 1.168 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01101/1.152, allocations: 1.382 MB / 1.163 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008972/1.161, allocations: 1.168 MB / 1.164 GB, free: 488 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-05/1.161, allocations: 1.938 kB / 1.164 GB, free: 488 kB / 0.698 GB Notification: Performance of matching and sorting (n=229) (initialization): time 0.01108/1.172, allocations: 2.743 MB / 1.167 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001446/1.173, allocations: 2.466 MB / 1.169 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-05/1.173, allocations: 11.44 kB / 1.169 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.178e-05/1.173, allocations: 16 kB / 1.169 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004346/1.178, allocations: 0.5356 MB / 1.17 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.302e-05/1.178, allocations: 23.86 kB / 1.17 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003245/1.181, allocations: 276.1 kB / 1.17 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005737/1.182, allocations: 85.77 kB / 1.17 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/1.182, allocations: 11.16 kB / 1.17 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01002/1.192, allocations: 2.515 MB / 1.172 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.392e-05/1.192, allocations: 11.09 kB / 1.172 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.389e-05/1.192, allocations: 14.84 kB / 1.172 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004063/1.196, allocations: 0.5237 MB / 1.173 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.509e-05/1.196, allocations: 19.83 kB / 1.173 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003039/1.199, allocations: 265.4 kB / 1.173 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004946/1.2, allocations: 86.05 kB / 1.173 GB, free: 10.57 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (229): * Single equations (assignments): 229 * 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.001916/1.202, allocations: 0.585 MB / 1.174 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005615/1.202, allocations: 166 kB / 1.174 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01208/1.214, allocations: 3.128 MB / 1.177 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-05/1.214, allocations: 20.56 kB / 1.177 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/1.214, allocations: 2.875 kB / 1.177 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.001e-05/1.214, allocations: 11.95 kB / 1.177 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01813/1.233, allocations: 5.855 MB / 1.183 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.37e-05/1.233, allocations: 0 / 1.183 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004175/1.237, allocations: 0.5111 MB / 1.183 GB, free: 1.996 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.887e-05/1.237, allocations: 12 kB / 1.183 GB, free: 1.984 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004463/1.237, allocations: 63.94 kB / 1.183 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.105e-05/1.237, allocations: 11.95 kB / 1.183 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.971e-06/1.237, allocations: 0 / 1.183 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01171/1.249, allocations: 2.892 MB / 1.186 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001817/1.251, allocations: 0.5645 MB / 1.187 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006179/1.252, allocations: 36 kB / 1.187 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002958/1.255, allocations: 216.9 kB / 1.187 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000525/1.255, allocations: 123.6 kB / 1.187 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003614/1.256, allocations: 83.94 kB / 1.187 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.00194/1.257, allocations: 0.7791 MB / 1.188 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.371e-06/1.258, allocations: 4 kB / 1.188 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004322/1.262, allocations: 0.7773 MB / 1.189 GB, free: 12.36 MB / 0.7292 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.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (212): * Single equations (assignments): 210 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002369/1.264, allocations: 0.6078 MB / 1.189 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01548/1.28, allocations: 3.97 MB / 1.193 GB, free: 7.984 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.453e-06/1.28, allocations: 0 / 1.193 GB, free: 7.984 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.005195/1.285, allocations: 1.359 MB / 1.195 GB, free: 6.629 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002564/1.288, allocations: 361.3 kB / 1.195 GB, free: 6.277 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0137/1.301, allocations: 5.358 MB / 1.2 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001913/1.303, allocations: 1.605 MB / 1.202 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.006563/1.31, allocations: 0.7788 MB / 1.203 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00158/1.312, allocations: 215.3 kB / 1.203 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of SimCode: time 2.319e-06/1.312, allocations: 0 / 1.203 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of Templates: time 0.06929/1.381, allocations: 26.59 MB / 1.229 GB, free: 3.785 MB / 0.7605 GB