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.PVSimple.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.PVSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004253/0.004254, allocations: 239.1 kB / 15.81 MB, free: 6.277 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.001214/0.001213, allocations: 183.9 kB / 16.69 MB, free: 5.449 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 4.141/4.141, allocations: 389.1 MB / 406.5 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 4.488/4.488, allocations: 472.3 MB / 0.9024 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.00072/0.0007203, allocations: 8 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2322, allocations: 98.73 MB / 1.105 GB, free: 42.02 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.PVSimple): time 0.009787/0.242, allocations: 6.568 MB / 1.111 GB, free: 35.43 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.8219/1.064, allocations: 137.8 MB / 1.246 GB, free: 2.496 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001412/1.065, allocations: 22.62 kB / 1.246 GB, free: 2.488 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0008677/1.066, allocations: 134.8 kB / 1.246 GB, free: 2.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002914/1.069, allocations: 0.5995 MB / 1.246 GB, free: 2.062 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003463/1.073, allocations: 0.8197 MB / 1.247 GB, free: 1.66 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003418/1.076, allocations: 1.892 MB / 1.249 GB, free: 0.7734 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002665/1.079, allocations: 1.234 MB / 1.25 GB, free: 148 kB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00147/1.08, allocations: 0.5637 MB / 1.251 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001828/1.082, allocations: 0.6773 MB / 1.251 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0004033/1.083, allocations: 48.09 kB / 1.251 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001604/1.084, allocations: 381 kB / 1.252 GB, free: 15.53 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0005499/1.085, allocations: 324.4 kB / 1.252 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0006362/1.086, allocations: 304.8 kB / 1.252 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.004174/1.09, allocations: 1.899 MB / 1.254 GB, free: 14.74 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/1.09, allocations: 1.688 kB / 1.254 GB, free: 14.74 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.807e-06/1.09, allocations: 2.906 kB / 1.254 GB, free: 14.74 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.702e-05/1.09, allocations: 0 / 1.254 GB, free: 14.74 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: 405 * Number of variables: 405 Notification: Performance of Generate backend data structure: time 0.006262/1.096, allocations: 1.743 MB / 1.256 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/1.096, allocations: 10.12 kB / 1.256 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01274/1.109, allocations: 1.056 MB / 1.257 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003017/1.112, allocations: 0.9515 MB / 1.258 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001607/1.112, allocations: 113 kB / 1.258 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005695/1.113, allocations: 158.6 kB / 1.258 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00966/1.123, allocations: 2.101 MB / 1.26 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.426e-05/1.123, allocations: 6.688 kB / 1.26 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000338/1.123, allocations: 66.75 kB / 1.26 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001404/1.123, allocations: 76.02 kB / 1.26 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01309/1.136, allocations: 2.535 MB / 1.263 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02166/1.158, allocations: 6.504 MB / 1.269 GB, free: 6.297 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009482/1.168, allocations: 1.701 MB / 1.271 GB, free: 5.461 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004288/1.172, allocations: 0.7867 MB / 1.272 GB, free: 5.07 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001176/1.173, allocations: 495.7 kB / 1.272 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004616/1.178, allocations: 0.9819 MB / 1.273 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=128): time 5.28e-06/1.178, allocations: 1 kB / 1.273 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of matching and sorting (n=128): time 0.01364/1.191, allocations: 2.316 MB / 1.275 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001713/1.192, allocations: 276.9 kB / 1.276 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001808/1.193, allocations: 0.784 MB / 1.276 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0005082/1.194, allocations: 48.17 kB / 1.276 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007391/1.195, allocations: 0.5965 MB / 1.277 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006809/1.195, allocations: 425.5 kB / 1.277 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001751/1.196, allocations: 25.09 kB / 1.277 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002699/1.196, allocations: 410.6 kB / 1.278 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003879/1.2, allocations: 0.6601 MB / 1.278 GB, free: 284 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004517/1.204, allocations: 0.8575 MB / 1.279 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004384/1.209, allocations: 0.7616 MB / 1.28 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-05/1.209, allocations: 5.516 kB / 1.28 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.01025/1.219, allocations: 1.875 MB / 1.282 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002314/1.219, allocations: 242.2 kB / 1.282 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/1.219, allocations: 3.562 kB / 1.282 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002962/1.22, allocations: 28.47 kB / 1.282 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004143/1.224, allocations: 365.8 kB / 1.282 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001838/1.226, allocations: 1.292 MB / 1.284 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003467/1.229, allocations: 204.3 kB / 1.284 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005091/1.23, allocations: 67.56 kB / 1.284 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/1.23, allocations: 4.25 kB / 1.284 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009742/1.24, allocations: 1.758 MB / 1.286 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.51e-05/1.24, allocations: 2.688 kB / 1.286 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.594e-05/1.24, allocations: 8.406 kB / 1.286 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00416/1.244, allocations: 368.2 kB / 1.286 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.459e-05/1.244, allocations: 15.64 kB / 1.286 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003147/1.247, allocations: 196.2 kB / 1.286 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004347/1.248, allocations: 61.36 kB / 1.286 GB, free: 11.37 MB / 0.6511 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.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.001565/1.249, allocations: 443.3 kB / 1.287 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005011/1.25, allocations: 117.5 kB / 1.287 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0104/1.26, allocations: 1.971 MB / 1.289 GB, free: 9.848 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.723e-05/1.26, allocations: 11.16 kB / 1.289 GB, free: 9.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/1.26, allocations: 0 / 1.289 GB, free: 9.84 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001461/1.262, allocations: 433 kB / 1.289 GB, free: 9.469 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004144/1.262, allocations: 23.53 kB / 1.289 GB, free: 9.453 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002788/1.265, allocations: 147.5 kB / 1.289 GB, free: 9.387 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003293/1.265, allocations: 85 kB / 1.289 GB, free: 9.348 MB / 0.6511 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01095/1.276, allocations: 1.96 MB / 1.291 GB, free: 8.176 MB / 0.6511 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01377/1.29, allocations: 2.868 MB / 1.294 GB, free: 5.289 MB / 0.6511 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004097/1.294, allocations: 0.7755 MB / 1.295 GB, free: 4.512 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001405/1.296, allocations: 0.5578 MB / 1.295 GB, free: 3.941 MB / 0.6511 GB Notification: Performance of Backend: time 6.11e-07/1.296, allocations: 0 / 1.295 GB, free: 3.941 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.01433/1.31, allocations: 2.966 MB / 1.298 GB, free: 1.215 MB / 0.6511 GB Notification: Performance of SimCode: time 0.008279/1.318, allocations: 3.366 MB / 1.302 GB, free: 13.79 MB / 0.6667 GB Notification: Performance of Templates: time 0.1065/1.425, allocations: 31.39 MB / 1.332 GB, free: 14.73 MB / 0.698 GB