Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.374/2.374, allocations: 251.1 MB / 266.1 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001475/0.001475, allocations: 184.9 kB / 325.6 MB, free: 2.836 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.687/2.687, allocations: 205.4 MB / 0.5766 GB, free: 21.15 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001106/0.001106, allocations: 94.28 kB / 0.6811 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000467/0.0004671, allocations: 9 kB / 0.7951 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2272, allocations: 106.3 MB / 0.8989 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.PVSimple): time 0.01023/0.2375, allocations: 6.517 MB / 0.9052 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2119/0.4494, allocations: 128.7 MB / 1.031 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001279/0.4508, allocations: 23.88 kB / 1.031 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0008426/0.4516, allocations: 138.8 kB / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.003056/0.4547, allocations: 0.6371 MB / 1.032 GB, free: 9.543 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004321/0.459, allocations: 0.8557 MB / 1.033 GB, free: 8.695 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.004947/0.464, allocations: 1.201 MB / 1.034 GB, free: 7.488 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004772/0.4689, allocations: 1.258 MB / 1.035 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00215/0.4711, allocations: 0.5485 MB / 1.035 GB, free: 5.629 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002129/0.4733, allocations: 0.5907 MB / 1.036 GB, free: 5.035 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0006003/0.4739, allocations: 44 kB / 1.036 GB, free: 4.992 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002181/0.4761, allocations: 331.6 kB / 1.036 GB, free: 4.668 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0009083/0.4771, allocations: 322.7 kB / 1.037 GB, free: 4.352 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0008156/0.4779, allocations: 304.8 kB / 1.037 GB, free: 4.047 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.005305/0.4833, allocations: 1.905 MB / 1.039 GB, free: 2.137 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.4834, allocations: 4 kB / 1.039 GB, free: 2.133 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.367e-06/0.4834, allocations: 0 / 1.039 GB, free: 2.133 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.585e-05/0.4835, allocations: 0 / 1.039 GB, free: 2.133 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: 408 * Number of variables: 408 Notification: Performance of Generate backend data structure: time 0.008498/0.492, allocations: 1.723 MB / 1.041 GB, free: 360 kB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.747e-05/0.4921, allocations: 11.97 kB / 1.041 GB, free: 348 kB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01218/0.5043, allocations: 0.942 MB / 1.042 GB, free: 15.39 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003424/0.5078, allocations: 0.9811 MB / 1.042 GB, free: 14.37 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001703/0.508, allocations: 119.1 kB / 1.043 GB, free: 14.25 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005903/0.5086, allocations: 159.9 kB / 1.043 GB, free: 14.09 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008325/0.5169, allocations: 2.039 MB / 1.045 GB, free: 11.98 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.542e-05/0.517, allocations: 0 / 1.045 GB, free: 11.98 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000314/0.5174, allocations: 71.94 kB / 1.045 GB, free: 11.91 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001373/0.5176, allocations: 74.97 kB / 1.045 GB, free: 11.84 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01119/0.5288, allocations: 2.4 MB / 1.047 GB, free: 9.43 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02031/0.5491, allocations: 6.41 MB / 1.053 GB, free: 2.797 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007952/0.5571, allocations: 1.569 MB / 1.055 GB, free: 1.219 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001095/0.5583, allocations: 498.6 kB / 1.055 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.5875/1.146, allocations: 0.9055 MB / 1.056 GB, free: 154.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=128): time 4.849e-06/1.146, allocations: 0.875 kB / 1.056 GB, free: 154.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=128): time 0.01099/1.157, allocations: 2.18 MB / 1.058 GB, free: 154.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/1.157, allocations: 301.5 kB / 1.059 GB, free: 153.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001656/1.159, allocations: 0.8286 MB / 1.06 GB, free: 153.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003847/1.159, allocations: 50.02 kB / 1.06 GB, free: 153.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006493/1.16, allocations: 0.6336 MB / 1.06 GB, free: 153.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006557/1.16, allocations: 429.8 kB / 1.061 GB, free: 153.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001442/1.161, allocations: 27 kB / 1.061 GB, free: 153.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001204/1.161, allocations: 351.5 kB / 1.061 GB, free: 152.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003403/1.164, allocations: 0.5831 MB / 1.062 GB, free: 152.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00464/1.169, allocations: 0.7814 MB / 1.062 GB, free: 152.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003483/1.172, allocations: 0.659 MB / 1.063 GB, free: 152.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.67e-05/1.172, allocations: 0 / 1.063 GB, free: 152.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.008312/1.181, allocations: 1.599 MB / 1.065 GB, free: 152.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003032/1.181, allocations: 1.144 MB / 1.066 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/1.181, allocations: 3.25 kB / 1.066 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003601/1.182, allocations: 37.48 kB / 1.066 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003754/1.185, allocations: 331.6 kB / 1.066 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001446/1.187, allocations: 1.292 MB / 1.067 GB, free: 150.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002927/1.19, allocations: 199.8 kB / 1.067 GB, free: 150.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003469/1.19, allocations: 58.09 kB / 1.068 GB, free: 150.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/1.19, allocations: 3.875 kB / 1.068 GB, free: 150.1 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007929/1.198, allocations: 1.467 MB / 1.069 GB, free: 150 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.238e-05/1.198, allocations: 3.031 kB / 1.069 GB, free: 150 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.42e-05/1.198, allocations: 9.328 kB / 1.069 GB, free: 150 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003654/1.202, allocations: 331.4 kB / 1.069 GB, free: 150 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.793e-05/1.202, allocations: 9.672 kB / 1.069 GB, free: 150 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002708/1.205, allocations: 185.5 kB / 1.069 GB, free: 149.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002843/1.205, allocations: 53.73 kB / 1.07 GB, free: 149.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (148): * Single equations (assignments): 147 * 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.001325/1.206, allocations: 444.8 kB / 1.07 GB, free: 149.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004724/1.207, allocations: 125.3 kB / 1.07 GB, free: 149.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009661/1.217, allocations: 1.896 MB / 1.072 GB, free: 149.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.07e-05/1.217, allocations: 14.56 kB / 1.072 GB, free: 149.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/1.217, allocations: 5.094 kB / 1.072 GB, free: 149.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.458e-05/1.217, allocations: 7.984 kB / 1.072 GB, free: 149.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01301/1.23, allocations: 3.568 MB / 1.075 GB, free: 148.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/1.23, allocations: 5.188 kB / 1.075 GB, free: 148.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003319/1.233, allocations: 309.6 kB / 1.076 GB, free: 148.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002084/1.233, allocations: 24.73 kB / 1.076 GB, free: 148.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002829/1.234, allocations: 44.89 kB / 1.076 GB, free: 148.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001022/1.235, allocations: 1.284 MB / 1.077 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/1.235, allocations: 1.281 kB / 1.077 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007674/1.242, allocations: 1.718 MB / 1.079 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001224/1.244, allocations: 408.4 kB / 1.079 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003444/1.244, allocations: 32.58 kB / 1.079 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00254/1.247, allocations: 131.7 kB / 1.079 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003408/1.247, allocations: 90.55 kB / 1.079 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000206/1.247, allocations: 51.55 kB / 1.079 GB, free: 145.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001201/1.248, allocations: 0.5925 MB / 1.08 GB, free: 145.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.91e-07/1.248, allocations: 0 / 1.08 GB, free: 145.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00319/1.252, allocations: 0.7274 MB / 1.081 GB, free: 145.3 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (141): * Single equations (assignments): 138 * 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.002026/1.254, allocations: 0.5933 MB / 1.081 GB, free: 145.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01125/1.265, allocations: 2.387 MB / 1.084 GB, free: 144.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/1.265, allocations: 1.031 kB / 1.084 GB, free: 144.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.004139/1.269, allocations: 0.9057 MB / 1.085 GB, free: 143.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002541/1.272, allocations: 291.2 kB / 1.085 GB, free: 143.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009297/1.281, allocations: 3.402 MB / 1.088 GB, free: 141.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009065/1.282, allocations: 1.293 MB / 1.089 GB, free: 140.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.004257/1.286, allocations: 0.5165 MB / 1.09 GB, free: 140.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000966/1.287, allocations: 156.7 kB / 1.09 GB, free: 140.4 MB / 0.698 GB Notification: Performance of SimCode: time 1.844e-06/1.287, allocations: 0 / 1.09 GB, free: 140.4 MB / 0.698 GB Notification: Performance of Templates: time 0.0498/1.337, allocations: 18.89 MB / 1.108 GB, free: 122.2 MB / 0.698 GB