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.009037/0.009036, allocations: 109.5 kB / 15.06 MB, free: 5.562 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.001202/0.001202, allocations: 179.2 kB / 15.95 MB, free: 5.523 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 2.122/2.122, allocations: 194.6 MB / 211.3 MB, free: 11.22 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.384/2.384, allocations: 236.2 MB / 492.6 MB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004744/0.0004746, allocations: 20 kB / 0.5869 GB, free: 2.188 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5448/0.5453, allocations: 98.7 MB / 0.6833 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.PVSimple): time 0.009083/0.5545, allocations: 6.379 MB / 0.6896 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.193/0.7475, allocations: 128.7 MB / 0.8153 GB, free: 6.996 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001397/0.7489, allocations: 19.88 kB / 0.8153 GB, free: 6.977 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005912/0.7495, allocations: 138.9 kB / 0.8154 GB, free: 6.84 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002825/0.7524, allocations: 0.6231 MB / 0.816 GB, free: 6.215 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003128/0.7555, allocations: 0.8223 MB / 0.8168 GB, free: 5.391 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.00278/0.7583, allocations: 1.197 MB / 0.818 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002522/0.7609, allocations: 1.239 MB / 0.8192 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001312/0.7622, allocations: 0.5641 MB / 0.8198 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001252/0.7635, allocations: 0.5937 MB / 0.8204 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002798/0.7638, allocations: 48 kB / 0.8204 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00118/0.765, allocations: 351.5 kB / 0.8207 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0004216/0.7655, allocations: 314.8 kB / 0.821 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0004438/0.7659, allocations: 304.8 kB / 0.8213 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003011/0.769, allocations: 1.899 MB / 0.8232 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.58e-06/0.769, allocations: 0 / 0.8232 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.788e-06/0.769, allocations: 0 / 0.8232 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.89e-05/0.7691, allocations: 0 / 0.8232 GB, free: 14.83 MB / 0.6511 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.004223/0.7733, allocations: 1.75 MB / 0.8249 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.7734, allocations: 8.031 kB / 0.8249 GB, free: 13 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008576/0.7819, allocations: 1.063 MB / 0.8259 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002284/0.7843, allocations: 0.9383 MB / 0.8268 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000136/0.7844, allocations: 119.1 kB / 0.827 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003388/0.7848, allocations: 156 kB / 0.8271 GB, free: 10.69 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006576/0.7914, allocations: 2.096 MB / 0.8292 GB, free: 8.523 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.977e-05/0.7915, allocations: 0 / 0.8292 GB, free: 8.523 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002471/0.7917, allocations: 64 kB / 0.8292 GB, free: 8.461 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001164/0.7919, allocations: 78.89 kB / 0.8293 GB, free: 8.383 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009104/0.801, allocations: 2.537 MB / 0.8318 GB, free: 5.84 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0172/0.8182, allocations: 6.506 MB / 0.8381 GB, free: 15.11 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006822/0.8251, allocations: 1.705 MB / 0.8398 GB, free: 13.39 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000884/0.826, allocations: 490.5 kB / 0.8403 GB, free: 12.82 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003432/0.8295, allocations: 0.9757 MB / 0.8412 GB, free: 11.81 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=128): time 5.855e-06/0.8295, allocations: 4 kB / 0.8412 GB, free: 11.81 MB / 0.6667 GB Notification: Performance of matching and sorting (n=128): time 0.009412/0.839, allocations: 2.329 MB / 0.8435 GB, free: 9.457 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00018/0.8392, allocations: 274 kB / 0.8438 GB, free: 9.125 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001486/0.8407, allocations: 0.7748 MB / 0.8445 GB, free: 8.344 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002805/0.841, allocations: 53.7 kB / 0.8446 GB, free: 8.285 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006922/0.8417, allocations: 0.6012 MB / 0.8451 GB, free: 7.672 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006138/0.8423, allocations: 421.8 kB / 0.8455 GB, free: 7.254 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/0.8425, allocations: 28 kB / 0.8456 GB, free: 7.227 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001985/0.8427, allocations: 345.9 kB / 0.8459 GB, free: 6.883 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002665/0.8454, allocations: 0.6467 MB / 0.8465 GB, free: 6.234 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002992/0.8484, allocations: 0.8342 MB / 0.8474 GB, free: 5.344 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002907/0.8514, allocations: 0.7515 MB / 0.8481 GB, free: 4.582 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/0.8514, allocations: 3.938 kB / 0.8481 GB, free: 4.578 MB / 0.6667 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.006852/0.8583, allocations: 1.831 MB / 0.8499 GB, free: 2.723 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.000685/0.859, allocations: 1.197 MB / 0.851 GB, free: 1.426 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/0.859, allocations: 4 kB / 0.8511 GB, free: 1.422 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002516/0.8593, allocations: 40.77 kB / 0.8511 GB, free: 1.379 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002611/0.8619, allocations: 343.5 kB / 0.8514 GB, free: 1.043 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001667/0.8636, allocations: 1.317 MB / 0.8527 GB, free: 15.6 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002163/0.8658, allocations: 206.8 kB / 0.8529 GB, free: 15.39 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003375/0.8662, allocations: 63.95 kB / 0.853 GB, free: 15.33 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.8662, allocations: 13.12 kB / 0.853 GB, free: 15.32 MB / 0.6824 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006419/0.8727, allocations: 1.709 MB / 0.8546 GB, free: 13.6 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.038e-05/0.8727, allocations: 4 kB / 0.8546 GB, free: 13.59 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.8728, allocations: 8 kB / 0.8547 GB, free: 13.59 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002585/0.8754, allocations: 351.6 kB / 0.855 GB, free: 13.24 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.603e-05/0.8754, allocations: 11.94 kB / 0.855 GB, free: 13.23 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00197/0.8774, allocations: 194.8 kB / 0.8552 GB, free: 13.04 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002803/0.8777, allocations: 59.95 kB / 0.8552 GB, free: 12.98 MB / 0.6824 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.conTim1.tNext,weaDat.conTim1.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 (150): * Single equations (assignments): 147 * 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.001134/0.8789, allocations: 436.8 kB / 0.8557 GB, free: 12.54 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003651/0.8792, allocations: 118.5 kB / 0.8558 GB, free: 12.43 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007751/0.887, allocations: 1.978 MB / 0.8577 GB, free: 10.43 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.714e-05/0.8871, allocations: 15.98 kB / 0.8577 GB, free: 10.41 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.808e-06/0.8871, allocations: 4 kB / 0.8577 GB, free: 10.41 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.722e-05/0.8871, allocations: 3.984 kB / 0.8577 GB, free: 10.41 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01069/0.8978, allocations: 3.672 MB / 0.8613 GB, free: 6.668 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.261e-05/0.8979, allocations: 4 kB / 0.8613 GB, free: 6.664 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002428/0.9003, allocations: 315.6 kB / 0.8616 GB, free: 6.355 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001868/0.9005, allocations: 36.78 kB / 0.8617 GB, free: 6.316 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002888/0.9009, allocations: 39.95 kB / 0.8617 GB, free: 6.277 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00136/0.9022, allocations: 1.276 MB / 0.8629 GB, free: 4.867 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.03e-06/0.9023, allocations: 3.938 kB / 0.8629 GB, free: 4.863 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006518/0.9088, allocations: 1.797 MB / 0.8647 GB, free: 3.027 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001158/0.91, allocations: 434.9 kB / 0.8651 GB, free: 2.582 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003371/0.9104, allocations: 27.98 kB / 0.8651 GB, free: 2.555 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00187/0.9122, allocations: 143.9 kB / 0.8653 GB, free: 2.414 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000266/0.9125, allocations: 89.12 kB / 0.8654 GB, free: 2.328 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002158/0.9128, allocations: 51.97 kB / 0.8654 GB, free: 2.277 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 0.001129/0.9139, allocations: 0.5577 MB / 0.866 GB, free: 1.707 MB / 0.6824 GB Notification: Performance of sort global known variables: time 8e-07/0.9139, allocations: 0 / 0.866 GB, free: 1.707 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.002995/0.9169, allocations: 0.7394 MB / 0.8667 GB, free: 0.9648 MB / 0.6824 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.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 (137): * Single equations (assignments): 134 * 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.002257/0.9192, allocations: 0.6424 MB / 0.8673 GB, free: 0.4961 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.01021/0.9295, allocations: 2.792 MB / 0.87 GB, free: 13.64 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.27e-06/0.9295, allocations: 0 / 0.87 GB, free: 13.64 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003244/0.9328, allocations: 0.9435 MB / 0.871 GB, free: 12.69 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001566/0.9344, allocations: 224.6 kB / 0.8712 GB, free: 12.47 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008064/0.9425, allocations: 3.383 MB / 0.8745 GB, free: 9.047 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001254/0.9438, allocations: 1.276 MB / 0.8757 GB, free: 7.742 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.004254/0.9481, allocations: 0.5276 MB / 0.8762 GB, free: 7.211 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008637/0.9489, allocations: 143.3 kB / 0.8764 GB, free: 7.07 MB / 0.698 GB Notification: Performance of SimCode: time 1.655e-06/0.949, allocations: 3.938 kB / 0.8764 GB, free: 7.066 MB / 0.698 GB Notification: Performance of Templates: time 0.04903/0.998, allocations: 18.58 MB / 0.8945 GB, free: 4.633 MB / 0.7136 GB