Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.Examples.RenewableSources.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.Examples.RenewableSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.Examples.RenewableSources") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004176/0.004182, allocations: 239.1 kB / 15.81 MB, free: 6.273 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.001165/0.001165, allocations: 183.2 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.362/4.362, allocations: 389.1 MB / 406.5 MB, free: 11.83 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.095/4.095, allocations: 472.3 MB / 0.9024 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0007618/0.0007622, allocations: 14.88 kB / 1.008 GB, free: 176.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2134, allocations: 98.7 MB / 1.105 GB, free: 80.61 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Examples.RenewableSources): time 0.05607/0.2696, allocations: 40.16 MB / 1.144 GB, free: 40.35 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.9477/1.217, allocations: 157.6 MB / 1.298 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008212/1.226, allocations: 135.9 kB / 1.298 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.007276/1.233, allocations: 1.682 MB / 1.3 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.02291/1.256, allocations: 4.107 MB / 1.304 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.02039/1.276, allocations: 3.487 MB / 1.307 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.03149/1.308, allocations: 12.05 MB / 1.319 GB, free: 14.65 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03035/1.338, allocations: 9.529 MB / 1.328 GB, free: 5.031 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01844/1.357, allocations: 6.615 MB / 1.334 GB, free: 14.4 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01155/1.368, allocations: 4.651 MB / 1.339 GB, free: 9.727 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.003073/1.371, allocations: 284 kB / 1.339 GB, free: 9.449 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009999/1.382, allocations: 1.755 MB / 1.341 GB, free: 7.691 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.005333/1.387, allocations: 2.175 MB / 1.343 GB, free: 5.508 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.004815/1.392, allocations: 1.793 MB / 1.345 GB, free: 3.703 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.02525/1.417, allocations: 13.55 MB / 1.358 GB, free: 6.117 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/1.417, allocations: 0 / 1.358 GB, free: 6.117 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.106e-06/1.417, allocations: 0 / 1.358 GB, free: 6.117 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0006198/1.418, allocations: 0 / 1.358 GB, free: 6.117 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2453 * Number of variables: 2453 Notification: Performance of Generate backend data structure: time 0.03592/1.454, allocations: 9.423 MB / 1.367 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/1.454, allocations: 12.03 kB / 1.367 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1009/1.555, allocations: 8.67 MB / 1.376 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01775/1.573, allocations: 5.301 MB / 1.381 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009901/1.574, allocations: 0.6939 MB / 1.382 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004497/1.578, allocations: 0.9061 MB / 1.383 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06669/1.645, allocations: 14.33 MB / 1.397 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003942/1.645, allocations: 23.81 kB / 1.397 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003518/1.649, allocations: 396 kB / 1.397 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002681/1.651, allocations: 0.5872 MB / 1.397 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08734/1.739, allocations: 15.63 MB / 1.413 GB, free: 13.48 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1409/1.88, allocations: 46.71 MB / 1.458 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0573/1.937, allocations: 9.989 MB / 1.468 GB, free: 3.156 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03128/1.969, allocations: 5.844 MB / 1.474 GB, free: 13.3 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002423/1.971, allocations: 0.7182 MB / 1.475 GB, free: 12.47 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0353/2.006, allocations: 6.536 MB / 1.481 GB, free: 5.844 MB / 0.823 GB Notification: Performance of pre-optimization done (n=671): time 1.482e-05/2.006, allocations: 0 / 1.481 GB, free: 5.844 MB / 0.823 GB Notification: Performance of matching and sorting (n=1187): time 5.112/7.118, allocations: 337.2 MB / 1.81 GB, free: 15.68 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002646/7.118, allocations: 0.6785 MB / 1.811 GB, free: 14.86 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7783/7.897, allocations: 5.353 MB / 1.816 GB, free: 272.3 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 0.005065/7.902, allocations: 233.3 kB / 1.816 GB, free: 272.1 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 0.004682/7.906, allocations: 3.796 MB / 1.82 GB, free: 270.4 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 0.008747/7.915, allocations: 3.903 MB / 1.824 GB, free: 267.3 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005433/7.921, allocations: 236.2 kB / 1.824 GB, free: 267.2 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 0.001189/7.922, allocations: 0.7654 MB / 1.825 GB, free: 266.6 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1273/8.049, allocations: 19.28 MB / 1.844 GB, free: 261.2 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1509/8.2, allocations: 20.94 MB / 1.864 GB, free: 254.3 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1627/8.363, allocations: 19.2 MB / 1.883 GB, free: 247.8 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.644e-05/8.363, allocations: 9.953 kB / 1.883 GB, free: 247.8 MB / 0.8387 GB Notification: Performance of matching and sorting (n=1565) (initialization): time 0.386/8.749, allocations: 52.58 MB / 1.934 GB, free: 202.2 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008404/8.75, allocations: 1.344 MB / 1.935 GB, free: 200.4 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.432e-05/8.75, allocations: 28 kB / 1.935 GB, free: 200.3 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1162/8.866, allocations: 14.17 MB / 1.949 GB, free: 186.2 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.08625/8.953, allocations: 6.351 MB / 1.956 GB, free: 179.8 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1432/9.096, allocations: 41.06 MB / 1.996 GB, free: 138.4 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08906/9.185, allocations: 4.448 MB / 2 GB, free: 134 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006074/9.191, allocations: 0.6547 MB / 2.001 GB, free: 133.3 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/9.191, allocations: 4 kB / 2.001 GB, free: 133.3 MB / 0.8387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.4001/9.591, allocations: 49.36 MB / 2.049 GB, free: 83.87 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001184/9.592, allocations: 33.06 kB / 2.049 GB, free: 83.84 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08337/9.675, allocations: 10.52 MB / 2.059 GB, free: 73.32 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.08612/9.761, allocations: 6.406 MB / 2.065 GB, free: 66.91 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1333/9.894, allocations: 31.47 MB / 2.096 GB, free: 35.19 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08153/9.976, allocations: 4.406 MB / 2.1 GB, free: 30.78 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006375/9.983, allocations: 0.636 MB / 2.101 GB, free: 30.14 MB / 0.8387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 137 * Number of states: 0 () * Number of discrete variables: 51 ($whenCondition7,$PRE.pow1.nextTimeEvent,$whenCondition6,$PRE.pow2.nextTimeEvent,$whenCondition5,$PRE.pow3.nextTimeEvent,$whenCondition4,$PRE.pow4.nextTimeEvent,$whenCondition3,$PRE.pow5.nextTimeEvent,$whenCondition2,$PRE.pow6.nextTimeEvent,$whenCondition1,$PRE.pow7.nextTimeEvent,$whenCondition9,$whenCondition8,$PRE.weaDat.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,pow1.nextTimeEvent,$PRE.pow1.nextTimeEventScaled,pow1.nextTimeEventScaled,pow2.nextTimeEvent,$PRE.pow2.nextTimeEventScaled,pow2.nextTimeEventScaled,pow3.nextTimeEvent,$PRE.pow3.nextTimeEventScaled,pow3.nextTimeEventScaled,pow4.nextTimeEvent,$PRE.pow4.nextTimeEventScaled,pow4.nextTimeEventScaled,pow5.nextTimeEvent,$PRE.pow5.nextTimeEventScaled,pow5.nextTimeEventScaled,pow6.nextTimeEvent,$PRE.pow6.nextTimeEventScaled,pow6.nextTimeEventScaled,pow7.nextTimeEvent,$PRE.pow7.nextTimeEventScaled,pow7.nextTimeEventScaled,line1.commercialCable.material,line2.commercialCable.material,line3.commercialCable.material,line4.commercialCable.material,line5.commercialCable.material,line6.commercialCable.material,line7.commercialCable.material,line8.commercialCable.material,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 (1318): * Single equations (assignments): 1297 * Array equations: 0 * Algorithm blocks: 10 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(23,20.8%) 67,(1,100.0%) 1} * Non-linear torn systems: 1 {23 67} Notification: Performance of prepare postOptimizeDAE: time 0.01611/9.999, allocations: 2.468 MB / 2.103 GB, free: 27.67 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006985/10.01, allocations: 0.8258 MB / 2.104 GB, free: 26.83 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.095/11.1, allocations: 53.63 MB / 2.157 GB, free: 247.8 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003906/11.1, allocations: 57.8 kB / 2.157 GB, free: 247.8 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.581e-05/11.1, allocations: 0 / 2.157 GB, free: 247.8 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01523/11.12, allocations: 4.162 MB / 2.161 GB, free: 245.6 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008454/11.13, allocations: 205.8 kB / 2.161 GB, free: 245.4 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.07722/11.2, allocations: 4.393 MB / 2.165 GB, free: 245.3 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004948/11.21, allocations: 0.8689 MB / 2.166 GB, free: 245.2 MB / 0.8387 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.3675/11.58, allocations: 49.53 MB / 2.214 GB, free: 227.9 MB / 0.8387 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.3736/11.95, allocations: 62.67 MB / 2.276 GB, free: 165.7 MB / 0.8387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.1169/12.07, allocations: 20.33 MB / 2.295 GB, free: 145.4 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 0.008187/12.07, allocations: 3.556 MB / 2.299 GB, free: 141.8 MB / 0.8387 GB Notification: Performance of Backend: time 9.62e-07/12.07, allocations: 0 / 2.299 GB, free: 141.8 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.3003/12.37, allocations: 53.65 MB / 2.351 GB, free: 89.36 MB / 0.8387 GB Notification: Performance of SimCode: time 0.0541/12.43, allocations: 23.15 MB / 2.374 GB, free: 66.16 MB / 0.8387 GB Notification: Performance of Templates: time 2.635/15.06, allocations: 0.5374 GB / 2.911 GB, free: 141.2 MB / 0.8543 GB