Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01045/0.01046, allocations: 223.8 kB / 15.18 MB, free: 5.918 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001115/0.001115, allocations: 176.4 kB / 16.06 MB, free: 5.832 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.74/3.74, allocations: 389.1 MB / 405.9 MB, free: 11.84 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.805/3.805, allocations: 472.3 MB / 0.9018 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005067/0.0005069, allocations: 16 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1282, allocations: 98.71 MB / 1.104 GB, free: 42.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented): time 0.00777/0.136, allocations: 7.056 MB / 1.111 GB, free: 35 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.6068/0.7428, allocations: 137.9 MB / 1.246 GB, free: 2.254 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009932/0.7439, allocations: 26.22 kB / 1.246 GB, free: 2.246 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004294/0.7443, allocations: 134.7 kB / 1.246 GB, free: 2.172 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001902/0.7462, allocations: 0.6202 MB / 1.246 GB, free: 1.801 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002409/0.7487, allocations: 0.8198 MB / 1.247 GB, free: 1.402 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002243/0.7509, allocations: 2.008 MB / 1.249 GB, free: 460 kB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002048/0.753, allocations: 1.353 MB / 1.25 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008493/0.7539, allocations: 0.5935 MB / 1.251 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001093/0.755, allocations: 0.6995 MB / 1.252 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.000172/0.7552, allocations: 54.64 kB / 1.252 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001043/0.7562, allocations: 374.9 kB / 1.252 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.000391/0.7566, allocations: 331.7 kB / 1.252 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0003621/0.757, allocations: 329.7 kB / 1.253 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002702/0.7597, allocations: 2.202 MB / 1.255 GB, free: 14.26 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.995e-06/0.7597, allocations: 0 / 1.255 GB, free: 14.26 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.991e-06/0.7598, allocations: 0 / 1.255 GB, free: 14.26 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.821e-05/0.7598, allocations: 0 / 1.255 GB, free: 14.26 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 432 * Number of variables: 432 Notification: Performance of Generate backend data structure: time 0.003936/0.7637, allocations: 1.813 MB / 1.257 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.7638, allocations: 9.094 kB / 1.257 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00875/0.7726, allocations: 1.068 MB / 1.258 GB, free: 12.95 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002375/0.775, allocations: 1.048 MB / 1.259 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001421/0.7751, allocations: 121.8 kB / 1.259 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003597/0.7755, allocations: 161.5 kB / 1.259 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00638/0.7819, allocations: 2.231 MB / 1.261 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.527e-05/0.782, allocations: 4.906 kB / 1.261 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002846/0.7822, allocations: 73.03 kB / 1.261 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000106/0.7824, allocations: 80.23 kB / 1.261 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008191/0.7906, allocations: 2.649 MB / 1.264 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01489/0.8055, allocations: 7.089 MB / 1.271 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006159/0.8117, allocations: 1.735 MB / 1.272 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002654/0.8144, allocations: 0.7999 MB / 1.273 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008288/0.8152, allocations: 491.3 kB / 1.274 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002915/0.8181, allocations: 0.98 MB / 1.275 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=128): time 7.868e-06/0.8182, allocations: 1.5 kB / 1.275 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of matching and sorting (n=128): time 0.008425/0.8266, allocations: 2.356 MB / 1.277 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001673/0.8268, allocations: 270.1 kB / 1.277 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001478/0.8283, allocations: 0.7951 MB / 1.278 GB, free: 376 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001718/0.8285, allocations: 48.98 kB / 1.278 GB, free: 328 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007068/0.8292, allocations: 0.6443 MB / 1.279 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005232/0.8297, allocations: 425.8 kB / 1.279 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001421/0.8299, allocations: 25.53 kB / 1.279 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002049/0.8301, allocations: 353 kB / 1.279 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002569/0.8327, allocations: 0.6701 MB / 1.28 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002773/0.8355, allocations: 0.8834 MB / 1.281 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0027/0.8382, allocations: 0.7843 MB / 1.282 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.358e-06/0.8382, allocations: 0.6562 kB / 1.282 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.006437/0.8447, allocations: 1.898 MB / 1.284 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002071/0.8449, allocations: 258.9 kB / 1.284 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.8449, allocations: 4.125 kB / 1.284 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002339/0.8452, allocations: 42.3 kB / 1.284 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002444/0.8476, allocations: 350.8 kB / 1.284 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001457/0.8491, allocations: 1.296 MB / 1.286 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001901/0.851, allocations: 207.4 kB / 1.286 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002176/0.8513, allocations: 68.75 kB / 1.286 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.564e-06/0.8513, allocations: 2.969 kB / 1.286 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005916/0.8572, allocations: 1.775 MB / 1.288 GB, free: 9.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.8572, allocations: 3.312 kB / 1.288 GB, free: 9.91 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.8573, allocations: 10.84 kB / 1.288 GB, free: 9.91 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002331/0.8596, allocations: 360.1 kB / 1.288 GB, free: 9.805 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.969e-05/0.8596, allocations: 17.47 kB / 1.288 GB, free: 9.801 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001717/0.8614, allocations: 197.2 kB / 1.288 GB, free: 9.688 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001931/0.8616, allocations: 66.47 kB / 1.288 GB, free: 9.664 MB / 0.6511 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.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTim1.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (158): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 2 * 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.001126/0.8627, allocations: 466.2 kB / 1.289 GB, free: 9.305 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003109/0.863, allocations: 122.7 kB / 1.289 GB, free: 9.242 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006812/0.8699, allocations: 1.977 MB / 1.291 GB, free: 8.141 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-05/0.8699, allocations: 13.94 kB / 1.291 GB, free: 8.141 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.228e-06/0.8699, allocations: 3.031 kB / 1.291 GB, free: 8.141 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-05/0.87, allocations: 7.969 kB / 1.291 GB, free: 8.133 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009775/0.8797, allocations: 3.903 MB / 1.294 GB, free: 4.469 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.185e-05/0.8798, allocations: 3.984 kB / 1.294 GB, free: 4.465 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002224/0.882, allocations: 323.6 kB / 1.295 GB, free: 4.148 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001498/0.8822, allocations: 24.84 kB / 1.295 GB, free: 4.121 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001811/0.8824, allocations: 47.95 kB / 1.295 GB, free: 4.074 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001254/0.8837, allocations: 1.28 MB / 1.296 GB, free: 2.66 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.8837, allocations: 0 / 1.296 GB, free: 2.66 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005899/0.8896, allocations: 1.813 MB / 1.298 GB, free: 0.8164 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009231/0.8905, allocations: 435 kB / 1.298 GB, free: 380 kB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002595/0.8908, allocations: 32.7 kB / 1.298 GB, free: 348 kB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001663/0.8925, allocations: 142.9 kB / 1.298 GB, free: 208 kB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002154/0.8927, allocations: 93.19 kB / 1.299 GB, free: 116 kB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001849/0.8929, allocations: 55.95 kB / 1.299 GB, free: 60 kB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001033/0.894, allocations: 0.546 MB / 1.299 GB, free: 15.5 MB / 0.6667 GB Notification: Performance of sort global known variables: time 8.02e-07/0.894, allocations: 3.844 kB / 1.299 GB, free: 15.5 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002498/0.8965, allocations: 0.7666 MB / 1.3 GB, free: 14.73 MB / 0.6667 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.conTim1.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim1.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (138): * Single equations (assignments): 135 * 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.00205/0.8985, allocations: 0.6436 MB / 1.301 GB, free: 14.29 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.008716/0.9073, allocations: 2.888 MB / 1.303 GB, free: 11.35 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.126e-06/0.9073, allocations: 0 / 1.303 GB, free: 11.35 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.002863/0.9102, allocations: 0.9634 MB / 1.304 GB, free: 10.38 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001644/0.9118, allocations: 255.1 kB / 1.305 GB, free: 10.13 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007358/0.9192, allocations: 3.534 MB / 1.308 GB, free: 6.551 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001254/0.9205, allocations: 1.292 MB / 1.309 GB, free: 5.227 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.003842/0.9244, allocations: 0.551 MB / 1.31 GB, free: 4.672 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007397/0.9251, allocations: 151.3 kB / 1.31 GB, free: 4.523 MB / 0.6667 GB Notification: Performance of SimCode: time 1.905e-06/0.9251, allocations: 0 / 1.31 GB, free: 4.523 MB / 0.6667 GB Notification: Performance of Templates: time 0.04606/0.9712, allocations: 18.33 MB / 1.328 GB, free: 2.457 MB / 0.6823 GB