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.822/4.822, allocations: 0.5623 GB / 0.5776 GB, free: 66.96 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002837/0.002837, allocations: 359.4 kB / 0.6447 GB, free: 21.66 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.538/4.538, allocations: 410.7 MB / 1.113 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001801/0.001801, allocations: 176.6 kB / 1.226 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0004988/0.000499, allocations: 10.5 kB / 1.349 GB, free: 320.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.2131, allocations: 115.3 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented): time 0.01067/0.2239, allocations: 7.144 MB / 1.468 GB, free: 213.5 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.1735/0.3974, allocations: 137.9 MB / 1.603 GB, free: 75.46 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001345/0.3988, allocations: 27.88 kB / 1.603 GB, free: 75.43 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0007469/0.3996, allocations: 150.6 kB / 1.603 GB, free: 75.28 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.002828/0.4025, allocations: 0.6264 MB / 1.604 GB, free: 74.66 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.003481/0.406, allocations: 0.857 MB / 1.605 GB, free: 73.81 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.003186/0.4092, allocations: 2.014 MB / 1.607 GB, free: 71.79 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00263/0.4118, allocations: 1.381 MB / 1.608 GB, free: 70.36 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001354/0.4132, allocations: 0.5752 MB / 1.608 GB, free: 69.78 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001394/0.4147, allocations: 0.6763 MB / 1.609 GB, free: 69.1 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0002942/0.415, allocations: 48 kB / 1.609 GB, free: 69.05 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001295/0.4163, allocations: 363.4 kB / 1.61 GB, free: 68.7 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0005314/0.4169, allocations: 330.6 kB / 1.61 GB, free: 68.37 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0004278/0.4173, allocations: 332.8 kB / 1.61 GB, free: 68.04 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.003065/0.4204, allocations: 2.205 MB / 1.612 GB, free: 65.83 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.4204, allocations: 0 / 1.612 GB, free: 65.83 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.725e-06/0.4205, allocations: 0 / 1.612 GB, free: 65.83 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.708e-05/0.4205, allocations: 0 / 1.612 GB, free: 65.83 MB / 0.8073 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.005294/0.4258, allocations: 1.79 MB / 1.614 GB, free: 63.98 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.4259, allocations: 16.62 kB / 1.614 GB, free: 63.96 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0108/0.4367, allocations: 0.9497 MB / 1.615 GB, free: 63.01 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002644/0.4394, allocations: 1.09 MB / 1.616 GB, free: 61.88 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001162/0.4396, allocations: 127.3 kB / 1.616 GB, free: 61.75 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003643/0.44, allocations: 167.9 kB / 1.616 GB, free: 61.59 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007398/0.4474, allocations: 2.179 MB / 1.618 GB, free: 59.34 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.812e-05/0.4475, allocations: 0 / 1.618 GB, free: 59.34 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002899/0.4478, allocations: 79.98 kB / 1.619 GB, free: 59.26 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001094/0.4479, allocations: 79.17 kB / 1.619 GB, free: 59.18 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01055/0.4585, allocations: 2.514 MB / 1.621 GB, free: 56.66 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0175/0.476, allocations: 6.984 MB / 1.628 GB, free: 49.44 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007487/0.4835, allocations: 1.604 MB / 1.629 GB, free: 47.84 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003347/0.4869, allocations: 0.7524 MB / 1.63 GB, free: 47.09 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009472/0.4879, allocations: 490.6 kB / 1.631 GB, free: 46.52 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003657/0.4916, allocations: 0.9249 MB / 1.632 GB, free: 45.56 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=128): time 4.698e-06/0.4917, allocations: 0 / 1.632 GB, free: 45.56 MB / 0.8073 GB Notification: Performance of matching and sorting (n=128): time 0.01069/0.5024, allocations: 2.192 MB / 1.634 GB, free: 43.34 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.791e-05/0.5025, allocations: 299.7 kB / 1.634 GB, free: 42.98 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001499/0.504, allocations: 0.8545 MB / 1.635 GB, free: 42.1 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0003416/0.5044, allocations: 53.7 kB / 1.635 GB, free: 42.04 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005729/0.505, allocations: 0.6711 MB / 1.636 GB, free: 41.36 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005805/0.5056, allocations: 429.8 kB / 1.636 GB, free: 40.93 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001482/0.5057, allocations: 24 kB / 1.636 GB, free: 40.91 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.5058, allocations: 357.9 kB / 1.636 GB, free: 40.55 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00305/0.5089, allocations: 0.5999 MB / 1.637 GB, free: 39.96 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003324/0.5123, allocations: 0.8156 MB / 1.638 GB, free: 39.08 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003334/0.5157, allocations: 0.674 MB / 1.638 GB, free: 38.41 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.176e-05/0.5157, allocations: 4 kB / 1.638 GB, free: 38.4 MB / 0.8073 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.007429/0.5231, allocations: 1.668 MB / 1.64 GB, free: 36.72 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001272/0.5233, allocations: 208.1 kB / 1.64 GB, free: 36.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/0.5233, allocations: 4 kB / 1.64 GB, free: 36.46 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002825/0.5236, allocations: 40.83 kB / 1.64 GB, free: 36.42 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003438/0.5271, allocations: 339.5 kB / 1.641 GB, free: 36.09 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001264/0.5284, allocations: 1.287 MB / 1.642 GB, free: 34.67 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002911/0.5313, allocations: 198.8 kB / 1.642 GB, free: 34.47 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003162/0.5317, allocations: 67.95 kB / 1.642 GB, free: 34.41 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.5317, allocations: 0 / 1.642 GB, free: 34.41 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00718/0.5389, allocations: 1.526 MB / 1.644 GB, free: 32.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.175e-05/0.539, allocations: 4 kB / 1.644 GB, free: 32.88 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.539, allocations: 11.98 kB / 1.644 GB, free: 32.86 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00352/0.5426, allocations: 339.6 kB / 1.644 GB, free: 32.53 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.018e-05/0.5426, allocations: 15.98 kB / 1.644 GB, free: 32.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002759/0.5454, allocations: 186.8 kB / 1.644 GB, free: 32.33 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003252/0.5458, allocations: 67.91 kB / 1.644 GB, free: 32.27 MB / 0.8073 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.001272/0.5471, allocations: 479.4 kB / 1.645 GB, free: 31.79 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003825/0.5475, allocations: 122.5 kB / 1.645 GB, free: 31.67 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008602/0.5561, allocations: 1.878 MB / 1.647 GB, free: 29.78 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.954e-05/0.5561, allocations: 7.969 kB / 1.647 GB, free: 29.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/0.5562, allocations: 7.953 kB / 1.647 GB, free: 29.77 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00103/0.5572, allocations: 414.9 kB / 1.647 GB, free: 29.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003506/0.5576, allocations: 24 kB / 1.647 GB, free: 29.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002485/0.5601, allocations: 135.9 kB / 1.647 GB, free: 29.18 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002906/0.5604, allocations: 89.17 kB / 1.647 GB, free: 29.09 MB / 0.8073 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00879/0.5692, allocations: 1.902 MB / 1.649 GB, free: 27.18 MB / 0.8073 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01068/0.5799, allocations: 2.794 MB / 1.652 GB, free: 24.37 MB / 0.8073 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003184/0.5832, allocations: 0.756 MB / 1.653 GB, free: 23.61 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001097/0.5843, allocations: 0.5787 MB / 1.653 GB, free: 23.02 MB / 0.8073 GB Notification: Performance of Backend: time 1.492e-06/0.5843, allocations: 0 / 1.653 GB, free: 23.02 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.01072/0.595, allocations: 2.518 MB / 1.656 GB, free: 20.72 MB / 0.8073 GB Notification: Performance of SimCode: time 0.007442/0.6025, allocations: 3.604 MB / 1.659 GB, free: 17.07 MB / 0.8073 GB Notification: Performance of Templates: time 0.6782/1.281, allocations: 30.72 MB / 1.689 GB, free: 211.1 MB / 0.8073 GB