Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.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.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01595/0.01595, allocations: 107.7 kB / 15.06 MB, free: 5.559 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.001834/0.001834, allocations: 176.8 kB / 15.94 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.013/2.013, allocations: 194.6 MB / 211.3 MB, free: 10.98 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.186/2.186, allocations: 236.1 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004551/0.0004552, allocations: 8 kB / 0.5869 GB, free: 2.176 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6363/0.6368, allocations: 98.72 MB / 0.6833 GB, free: 16.84 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.004373/0.6412, allocations: 3.286 MB / 0.6865 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002953/0.6442, allocations: 1.627 MB / 0.6881 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002186/0.6445, allocations: 5.312 kB / 0.6881 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0002007/0.6447, allocations: 60.67 kB / 0.6882 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0005077/0.6452, allocations: 159 kB / 0.6884 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007096/0.646, allocations: 202.2 kB / 0.6885 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0004463/0.6464, allocations: 283.9 kB / 0.6888 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004163/0.6468, allocations: 334.9 kB / 0.6891 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002051/0.6471, allocations: 137.2 kB / 0.6893 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003268/0.6474, allocations: 157.1 kB / 0.6894 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 5.23e-05/0.6475, allocations: 19.72 kB / 0.6894 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002623/0.6477, allocations: 78.94 kB / 0.6895 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001345/0.6479, allocations: 105.2 kB / 0.6896 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 9.183e-05/0.648, allocations: 83.61 kB / 0.6897 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0005166/0.6485, allocations: 355.1 kB / 0.69 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.6485, allocations: 5.312 kB / 0.69 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.063e-06/0.6486, allocations: 3.938 kB / 0.69 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.161e-06/0.6486, allocations: 0 / 0.69 GB, free: 12.61 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001028/0.6496, allocations: 0.6085 MB / 0.6906 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.6497, allocations: 9.531 kB / 0.6906 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007332/0.6504, allocations: 90.89 kB / 0.6907 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003862/0.6508, allocations: 290.4 kB / 0.691 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.656e-05/0.6509, allocations: 20.12 kB / 0.691 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.206e-05/0.6509, allocations: 31.05 kB / 0.6911 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.652, allocations: 490.1 kB / 0.6915 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.652, allocations: 1.344 kB / 0.6915 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.826e-05/0.6521, allocations: 15.38 kB / 0.6915 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.84e-05/0.6522, allocations: 41.72 kB / 0.6916 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/0.6532, allocations: 386.4 kB / 0.6919 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002419/0.6556, allocations: 2.048 MB / 0.6939 GB, free: 9.688 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007496/0.6564, allocations: 227.4 kB / 0.6942 GB, free: 9.605 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.6565, allocations: 2.312 kB / 0.6942 GB, free: 9.605 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.6565, allocations: 33.48 kB / 0.6942 GB, free: 9.566 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=18): time 3.221e-06/0.6565, allocations: 0 / 0.6942 GB, free: 9.566 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18): time 0.001383/0.6579, allocations: 475.5 kB / 0.6947 GB, free: 9.336 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.342e-05/0.6579, allocations: 55.06 kB / 0.6947 GB, free: 9.273 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003183/0.6583, allocations: 257.5 kB / 0.6949 GB, free: 9.121 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.6583, allocations: 31.61 kB / 0.695 GB, free: 9.086 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.6584, allocations: 214.8 kB / 0.6952 GB, free: 8.902 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.712e-05/0.6585, allocations: 68.78 kB / 0.6952 GB, free: 8.848 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.763e-05/0.6585, allocations: 5.219 kB / 0.6953 GB, free: 8.844 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.262e-05/0.6586, allocations: 331.7 kB / 0.6956 GB, free: 8.523 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003421/0.659, allocations: 104.6 kB / 0.6957 GB, free: 8.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004082/0.6594, allocations: 217.2 kB / 0.6959 GB, free: 8.332 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003795/0.6598, allocations: 126.4 kB / 0.696 GB, free: 8.297 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.603e-06/0.6598, allocations: 5.062 kB / 0.696 GB, free: 8.293 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001041/0.6609, allocations: 388.3 kB / 0.6964 GB, free: 8.141 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002728/0.6612, allocations: 1.308 MB / 0.6977 GB, free: 6.746 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.6612, allocations: 3.406 kB / 0.6977 GB, free: 6.746 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002281/0.6614, allocations: 37.84 kB / 0.6977 GB, free: 6.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003837/0.6618, allocations: 74.67 kB / 0.6978 GB, free: 6.723 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001179/0.663, allocations: 1.354 MB / 0.6991 GB, free: 5.387 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003693/0.6634, allocations: 50.33 kB / 0.6991 GB, free: 5.363 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.409e-05/0.6635, allocations: 15.95 kB / 0.6991 GB, free: 5.359 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.6635, allocations: 3.094 kB / 0.6991 GB, free: 5.359 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008402/0.6643, allocations: 303.1 kB / 0.6994 GB, free: 5.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.987e-06/0.6643, allocations: 7.75 kB / 0.6994 GB, free: 5.266 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.696e-06/0.6644, allocations: 5.875 kB / 0.6995 GB, free: 5.266 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000374/0.6647, allocations: 81.78 kB / 0.6995 GB, free: 5.254 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.6648, allocations: 9.484 kB / 0.6995 GB, free: 5.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002891/0.6651, allocations: 44.08 kB / 0.6996 GB, free: 5.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.858e-05/0.6651, allocations: 13.88 kB / 0.6996 GB, free: 5.227 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * 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.0002367/0.6654, allocations: 242.5 kB / 0.6998 GB, free: 5.012 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.573e-05/0.6655, allocations: 29.61 kB / 0.6999 GB, free: 4.996 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.679e-05/0.6655, allocations: 32.06 kB / 0.6999 GB, free: 4.977 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.629e-06/0.6655, allocations: 1.281 kB / 0.6999 GB, free: 4.977 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.046e-06/0.6656, allocations: 1.578 kB / 0.6999 GB, free: 4.977 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.154e-06/0.6656, allocations: 0.6562 kB / 0.6999 GB, free: 4.977 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005317/0.6661, allocations: 356 kB / 0.7002 GB, free: 4.715 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.538e-06/0.6661, allocations: 4.516 kB / 0.7002 GB, free: 4.711 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002746/0.6664, allocations: 41.25 kB / 0.7003 GB, free: 4.711 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001473/0.6666, allocations: 38.19 kB / 0.7003 GB, free: 4.688 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.6666, allocations: 1.938 kB / 0.7003 GB, free: 4.688 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009505/0.6676, allocations: 1.322 MB / 0.7016 GB, free: 3.371 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.338e-06/0.6676, allocations: 4.781 kB / 0.7016 GB, free: 3.367 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008166/0.6684, allocations: 390.7 kB / 0.702 GB, free: 3.145 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.6686, allocations: 120.4 kB / 0.7021 GB, free: 3.027 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.156e-05/0.6686, allocations: 5.75 kB / 0.7021 GB, free: 3.023 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002532/0.6689, allocations: 17.91 kB / 0.7021 GB, free: 3.023 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.833e-05/0.669, allocations: 16 kB / 0.7021 GB, free: 3.02 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.969e-05/0.669, allocations: 8 kB / 0.7021 GB, free: 3.016 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002237/0.6692, allocations: 181.3 kB / 0.7023 GB, free: 2.91 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.7e-07/0.6692, allocations: 0 / 0.7023 GB, free: 2.91 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0007986/0.6701, allocations: 150.6 kB / 0.7025 GB, free: 2.871 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * 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 Backend phase and start with SimCode phase: time 0.0001068/0.6702, allocations: 106.5 kB / 0.7026 GB, free: 2.773 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00137/0.6716, allocations: 0.5144 MB / 0.7031 GB, free: 2.559 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.715e-06/0.6716, allocations: 0 / 0.7031 GB, free: 2.559 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004313/0.672, allocations: 233.6 kB / 0.7033 GB, free: 2.414 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004826/0.6725, allocations: 61.58 kB / 0.7033 GB, free: 2.391 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.6736, allocations: 0.6525 MB / 0.704 GB, free: 1.91 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.6739, allocations: 0.8134 MB / 0.7048 GB, free: 1.141 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003248/0.6742, allocations: 65.05 kB / 0.7048 GB, free: 1.113 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.44e-05/0.6743, allocations: 28.7 kB / 0.7049 GB, free: 1.098 MB / 0.5261 GB Notification: Performance of SimCode: time 1.339e-06/0.6743, allocations: 0 / 0.7049 GB, free: 1.098 MB / 0.5261 GB Notification: Performance of Templates: time 0.009152/0.6835, allocations: 3.053 MB / 0.7078 GB, free: 15.61 MB / 0.5417 GB