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.991/4.991, allocations: 0.5623 GB / 0.5776 GB, free: 3.344 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.002486/0.002485, allocations: 361.5 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.628/4.628, allocations: 410.7 MB / 1.113 GB, free: 6.004 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.001836/0.001836, allocations: 188.9 kB / 1.226 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005144/0.0005146, allocations: 12 kB / 1.349 GB, free: 8.309 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7342/0.7347, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.PVSimple): time 0.0101/0.7449, allocations: 6.665 MB / 1.468 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1735/0.9185, allocations: 137.8 MB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001414/0.9199, allocations: 23.88 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0007141/0.9207, allocations: 138.8 kB / 1.603 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.002801/0.9235, allocations: 0.6098 MB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.003563/0.9271, allocations: 0.8543 MB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.003008/0.9301, allocations: 1.897 MB / 1.606 GB, free: 136.4 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00235/0.9325, allocations: 1.265 MB / 1.607 GB, free: 135.1 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001125/0.9337, allocations: 0.5365 MB / 1.608 GB, free: 134.6 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001228/0.9349, allocations: 0.6686 MB / 1.608 GB, free: 133.9 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0002677/0.9352, allocations: 47.94 kB / 1.608 GB, free: 133.9 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001163/0.9364, allocations: 363.4 kB / 1.609 GB, free: 133.5 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0003689/0.9368, allocations: 326.6 kB / 1.609 GB, free: 133.2 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0004542/0.9373, allocations: 304.8 kB / 1.609 GB, free: 132.9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.003048/0.9403, allocations: 1.905 MB / 1.611 GB, free: 131 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 8.657e-06/0.9404, allocations: 0 / 1.611 GB, free: 131 MB / 0.8542 GB Notification: Performance of FrontEnd: time 4.047e-06/0.9404, allocations: 0 / 1.611 GB, free: 131 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.56e-05/0.9405, allocations: 3.938 kB / 1.611 GB, free: 131 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.005205/0.9457, allocations: 1.727 MB / 1.613 GB, free: 129.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.9458, allocations: 11.62 kB / 1.613 GB, free: 129.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01054/0.9563, allocations: 0.9381 MB / 1.614 GB, free: 128.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002394/0.9588, allocations: 0.9772 MB / 1.615 GB, free: 127.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001077/0.9589, allocations: 123.1 kB / 1.615 GB, free: 127.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003429/0.9593, allocations: 156 kB / 1.615 GB, free: 127 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007105/0.9664, allocations: 2.059 MB / 1.617 GB, free: 124.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.713e-05/0.9665, allocations: 0 / 1.617 GB, free: 124.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002737/0.9668, allocations: 67.94 kB / 1.617 GB, free: 124.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001038/0.9669, allocations: 78.92 kB / 1.617 GB, free: 124.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009928/0.9768, allocations: 2.4 MB / 1.619 GB, free: 122.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01653/0.9934, allocations: 6.403 MB / 1.626 GB, free: 115.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006948/1, allocations: 1.581 MB / 1.627 GB, free: 114.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003291/1.004, allocations: 0.7382 MB / 1.628 GB, free: 113.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000939/1.005, allocations: 490.6 kB / 1.628 GB, free: 112.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003635/1.008, allocations: 0.9055 MB / 1.629 GB, free: 111.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=128): time 6.933e-06/1.008, allocations: 0 / 1.629 GB, free: 111.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=128): time 0.01026/1.019, allocations: 2.18 MB / 1.631 GB, free: 109.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.263e-05/1.019, allocations: 299.7 kB / 1.632 GB, free: 109.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001422/1.02, allocations: 0.8359 MB / 1.633 GB, free: 108.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0003147/1.021, allocations: 49.7 kB / 1.633 GB, free: 108.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005156/1.021, allocations: 0.6245 MB / 1.633 GB, free: 107.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004831/1.022, allocations: 425.8 kB / 1.634 GB, free: 107.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001438/1.022, allocations: 32 kB / 1.634 GB, free: 107.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.516e-05/1.022, allocations: 345.9 kB / 1.634 GB, free: 106.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00291/1.025, allocations: 0.5998 MB / 1.635 GB, free: 106.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00325/1.028, allocations: 0.7926 MB / 1.635 GB, free: 105.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003249/1.031, allocations: 0.67 MB / 1.636 GB, free: 104.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.071e-05/1.032, allocations: 0 / 1.636 GB, free: 104.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.00729/1.039, allocations: 1.644 MB / 1.638 GB, free: 103.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001026/1.039, allocations: 176.7 kB / 1.638 GB, free: 102.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/1.039, allocations: 4 kB / 1.638 GB, free: 102.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000274/1.039, allocations: 36.83 kB / 1.638 GB, free: 102.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00345/1.043, allocations: 339.5 kB / 1.638 GB, free: 102.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001266/1.044, allocations: 1.299 MB / 1.639 GB, free: 101.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002948/1.047, allocations: 190.7 kB / 1.64 GB, free: 100.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003406/1.047, allocations: 63.94 kB / 1.64 GB, free: 100.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/1.047, allocations: 4 kB / 1.64 GB, free: 100.9 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007183/1.055, allocations: 1.514 MB / 1.641 GB, free: 99.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/1.055, allocations: 0 / 1.641 GB, free: 99.36 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/1.055, allocations: 16.19 kB / 1.641 GB, free: 99.34 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00348/1.058, allocations: 339.5 kB / 1.641 GB, free: 99.01 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-05/1.058, allocations: 8 kB / 1.641 GB, free: 99 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002706/1.061, allocations: 182.6 kB / 1.642 GB, free: 98.82 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003276/1.061, allocations: 67.94 kB / 1.642 GB, free: 98.76 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.0012/1.063, allocations: 452.8 kB / 1.642 GB, free: 98.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003858/1.063, allocations: 114.6 kB / 1.642 GB, free: 98.19 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008598/1.072, allocations: 1.897 MB / 1.644 GB, free: 96.28 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.211e-05/1.072, allocations: 11.91 kB / 1.644 GB, free: 96.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/1.072, allocations: 0 / 1.644 GB, free: 96.27 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001028/1.073, allocations: 403 kB / 1.644 GB, free: 95.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003695/1.073, allocations: 28 kB / 1.645 GB, free: 95.83 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002579/1.076, allocations: 135.8 kB / 1.645 GB, free: 95.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003086/1.076, allocations: 89.19 kB / 1.645 GB, free: 95.61 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008975/1.085, allocations: 1.863 MB / 1.647 GB, free: 93.73 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01064/1.096, allocations: 2.74 MB / 1.649 GB, free: 90.97 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003163/1.099, allocations: 0.7364 MB / 1.65 GB, free: 90.24 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001127/1.1, allocations: 0.5982 MB / 1.651 GB, free: 89.63 MB / 0.8542 GB Notification: Performance of Backend: time 5.01e-07/1.1, allocations: 0 / 1.651 GB, free: 89.63 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01047/1.111, allocations: 2.503 MB / 1.653 GB, free: 87.35 MB / 0.8542 GB Notification: Performance of SimCode: time 0.006492/1.117, allocations: 3.491 MB / 1.656 GB, free: 83.81 MB / 0.8542 GB Notification: Performance of Templates: time 0.06996/1.187, allocations: 30.45 MB / 1.686 GB, free: 53.7 MB / 0.8542 GB