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.Resistor.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.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009315/0.00932, allocations: 108.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.001152/0.001152, allocations: 180.3 kB / 15.95 MB, free: 5.52 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 1.964/1.964, allocations: 194.6 MB / 211.3 MB, free: 11.1 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.122/2.122, allocations: 236.2 MB / 492.6 MB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004769/0.0004771, allocations: 8 kB / 0.5869 GB, free: 2.176 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5603/0.5608, allocations: 98.71 MB / 0.6833 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.008328/0.5692, allocations: 3.251 MB / 0.6865 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.005148/0.5744, allocations: 1.584 MB / 0.6881 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002919/0.5747, allocations: 9.406 kB / 0.6881 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0003295/0.5751, allocations: 57.75 kB / 0.6881 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0008166/0.5759, allocations: 158.7 kB / 0.6883 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009379/0.5769, allocations: 150.3 kB / 0.6884 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0005367/0.5774, allocations: 270.7 kB / 0.6887 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004059/0.5779, allocations: 284 kB / 0.6889 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001973/0.5781, allocations: 134.6 kB / 0.6891 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000309/0.5784, allocations: 149.7 kB / 0.6892 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 5.022e-05/0.5785, allocations: 18.56 kB / 0.6892 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003121/0.5788, allocations: 112.2 kB / 0.6893 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.5789, allocations: 93.44 kB / 0.6894 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 8.683e-05/0.579, allocations: 81.19 kB / 0.6895 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.000558/0.5796, allocations: 375.8 kB / 0.6899 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.102e-06/0.5796, allocations: 0 / 0.6899 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.023e-06/0.5796, allocations: 0 / 0.6899 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.81e-06/0.5796, allocations: 0 / 0.6899 GB, free: 12.71 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0008618/0.5805, allocations: 0.584 MB / 0.6904 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.5806, allocations: 8.406 kB / 0.6904 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001238/0.5818, allocations: 155.2 kB / 0.6906 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003716/0.5822, allocations: 275.7 kB / 0.6909 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.963e-05/0.5822, allocations: 24.03 kB / 0.6909 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.912e-05/0.5823, allocations: 27.19 kB / 0.6909 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008324/0.5832, allocations: 455.6 kB / 0.6913 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.5832, allocations: 1.062 kB / 0.6913 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.703e-05/0.5832, allocations: 15.66 kB / 0.6914 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-05/0.5833, allocations: 39.28 kB / 0.6914 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006731/0.584, allocations: 319 kB / 0.6917 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002307/0.5863, allocations: 2.184 MB / 0.6938 GB, free: 9.617 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004361/0.5868, allocations: 251.3 kB / 0.6941 GB, free: 9.445 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.5868, allocations: 4.891 kB / 0.6941 GB, free: 9.441 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/0.5868, allocations: 33.73 kB / 0.6941 GB, free: 9.402 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=14): time 2.6e-06/0.5869, allocations: 0 / 0.6941 GB, free: 9.402 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14): time 0.0007091/0.5876, allocations: 321.8 kB / 0.6944 GB, free: 9.191 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.194e-05/0.5876, allocations: 54.17 kB / 0.6945 GB, free: 9.129 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003599/0.588, allocations: 265.5 kB / 0.6947 GB, free: 8.969 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.588, allocations: 30.89 kB / 0.6947 GB, free: 8.934 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.5881, allocations: 208.3 kB / 0.6949 GB, free: 8.758 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.228e-05/0.5882, allocations: 51.36 kB / 0.695 GB, free: 8.719 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.284e-05/0.5882, allocations: 5 kB / 0.695 GB, free: 8.715 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.826e-05/0.5883, allocations: 335.5 kB / 0.6953 GB, free: 8.391 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.5885, allocations: 59.19 kB / 0.6954 GB, free: 8.367 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002014/0.5887, allocations: 135.9 kB / 0.6955 GB, free: 8.25 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001855/0.5889, allocations: 84.8 kB / 0.6956 GB, free: 8.215 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.491e-06/0.5889, allocations: 1.094 kB / 0.6956 GB, free: 8.215 MB / 0.5261 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005899/0.5895, allocations: 269.6 kB / 0.6958 GB, free: 8.086 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.5895, allocations: 10.28 kB / 0.6959 GB, free: 8.082 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.239e-06/0.5895, allocations: 3.438 kB / 0.6959 GB, free: 8.082 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001807/0.5897, allocations: 27.36 kB / 0.6959 GB, free: 8.07 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000256/0.59, allocations: 51.95 kB / 0.6959 GB, free: 8.062 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001011/0.591, allocations: 1.322 MB / 0.6972 GB, free: 6.746 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002472/0.5913, allocations: 36.16 kB / 0.6973 GB, free: 6.719 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.313e-05/0.5913, allocations: 13.25 kB / 0.6973 GB, free: 6.715 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (27): * Single equations (assignments): 26 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002117/0.5916, allocations: 164.9 kB / 0.6974 GB, free: 6.574 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.318e-05/0.5916, allocations: 31.39 kB / 0.6975 GB, free: 6.555 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.338e-05/0.5917, allocations: 27.73 kB / 0.6975 GB, free: 6.539 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.123e-06/0.5917, allocations: 2.344 kB / 0.6975 GB, free: 6.539 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.265e-06/0.5917, allocations: 0.7031 kB / 0.6975 GB, free: 6.539 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.303e-06/0.5917, allocations: 1.719 kB / 0.6975 GB, free: 6.539 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/0.5928, allocations: 0.6254 MB / 0.6981 GB, free: 6.082 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.847e-06/0.5928, allocations: 2.047 kB / 0.6981 GB, free: 6.082 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001316/0.593, allocations: 32.44 kB / 0.6981 GB, free: 6.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001257/0.5931, allocations: 25 kB / 0.6982 GB, free: 6.059 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.5932, allocations: 5.156 kB / 0.6982 GB, free: 6.055 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009206/0.5941, allocations: 1.331 MB / 0.6995 GB, free: 4.727 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.5941, allocations: 1.625 kB / 0.6995 GB, free: 4.727 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004149/0.5945, allocations: 357.3 kB / 0.6998 GB, free: 4.418 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.5947, allocations: 115 kB / 0.6999 GB, free: 4.305 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.422e-05/0.5947, allocations: 6.109 kB / 0.6999 GB, free: 4.301 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002217/0.595, allocations: 9.469 kB / 0.6999 GB, free: 4.301 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.142e-05/0.595, allocations: 16.89 kB / 0.6999 GB, free: 4.293 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.595, allocations: 8.188 kB / 0.7 GB, free: 4.289 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000236/0.5953, allocations: 189.9 kB / 0.7001 GB, free: 4.176 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.42e-07/0.5953, allocations: 0 / 0.7001 GB, free: 4.176 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005394/0.5958, allocations: 76.27 kB / 0.7002 GB, free: 4.16 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (13): * Single equations (assignments): 12 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001102/0.596, allocations: 112 kB / 0.7003 GB, free: 4.059 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005535/0.5965, allocations: 278.8 kB / 0.7006 GB, free: 3.891 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.117e-06/0.5966, allocations: 1.672 kB / 0.7006 GB, free: 3.891 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002552/0.5968, allocations: 181.9 kB / 0.7008 GB, free: 3.758 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004424/0.5973, allocations: 54.75 kB / 0.7008 GB, free: 3.742 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.5983, allocations: 0.6219 MB / 0.7014 GB, free: 3.32 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.5987, allocations: 0.8014 MB / 0.7022 GB, free: 2.609 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000214/0.5989, allocations: 44.89 kB / 0.7022 GB, free: 2.605 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.618e-05/0.599, allocations: 18.44 kB / 0.7023 GB, free: 2.602 MB / 0.5261 GB Notification: Performance of SimCode: time 1.422e-06/0.599, allocations: 1.375 kB / 0.7023 GB, free: 2.602 MB / 0.5261 GB Notification: Performance of Templates: time 0.008275/0.6072, allocations: 2.428 MB / 0.7046 GB, free: 1.613 MB / 0.5261 GB