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.VoltageSource.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.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009097/0.009101, allocations: 108.1 kB / 15.06 MB, free: 5.566 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.001177/0.001176, allocations: 182 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 1.917/1.917, allocations: 194.6 MB / 211.3 MB, free: 10.95 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.336/2.336, allocations: 236.1 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004772/0.0004775, allocations: 15.98 kB / 0.5869 GB, free: 2.16 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5476/0.5481, allocations: 98.71 MB / 0.6833 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.003709/0.5519, allocations: 2.707 MB / 0.686 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002254/0.5541, allocations: 1.252 MB / 0.6872 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001537/0.5543, allocations: 8.188 kB / 0.6872 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001645/0.5545, allocations: 39.36 kB / 0.6873 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.000363/0.5549, allocations: 110 kB / 0.6874 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004114/0.5553, allocations: 106.8 kB / 0.6875 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002944/0.5556, allocations: 190.5 kB / 0.6876 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003393/0.556, allocations: 223.8 kB / 0.6879 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001965/0.5562, allocations: 101.6 kB / 0.6879 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002402/0.5564, allocations: 107.7 kB / 0.6881 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.798e-05/0.5565, allocations: 10.09 kB / 0.6881 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002545/0.5568, allocations: 77.7 kB / 0.6881 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 9.096e-05/0.5569, allocations: 68.23 kB / 0.6882 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 6.921e-05/0.557, allocations: 67.33 kB / 0.6883 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0004078/0.5574, allocations: 255.4 kB / 0.6885 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.5574, allocations: 0 / 0.6885 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.382e-06/0.5574, allocations: 1 kB / 0.6885 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.165e-06/0.5574, allocations: 0 / 0.6885 GB, free: 13.43 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007774/0.5582, allocations: 0.5009 MB / 0.689 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.5583, allocations: 14.09 kB / 0.689 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007727/0.559, allocations: 86.22 kB / 0.6891 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003122/0.5594, allocations: 247.9 kB / 0.6893 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.5594, allocations: 12.5 kB / 0.6893 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.61e-05/0.5595, allocations: 21.59 kB / 0.6894 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006696/0.5602, allocations: 318.3 kB / 0.6897 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.5602, allocations: 3.938 kB / 0.6897 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.728e-05/0.5602, allocations: 11.36 kB / 0.6897 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.876e-05/0.5603, allocations: 20.8 kB / 0.6897 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005334/0.5608, allocations: 216.3 kB / 0.6899 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001736/0.5626, allocations: 1.492 MB / 0.6914 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005024/0.5631, allocations: 208.1 kB / 0.6916 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.5632, allocations: 5.062 kB / 0.6916 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.5632, allocations: 35.47 kB / 0.6916 GB, free: 10.92 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 3.047e-06/0.5632, allocations: 1.094 kB / 0.6916 GB, free: 10.92 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.0007133/0.5639, allocations: 267.4 kB / 0.6919 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.33e-05/0.564, allocations: 57.25 kB / 0.6919 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/0.5642, allocations: 202 kB / 0.6921 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.5642, allocations: 26.83 kB / 0.6921 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.472e-05/0.5644, allocations: 180.3 kB / 0.6923 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.879e-05/0.5644, allocations: 27.28 kB / 0.6923 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.167e-05/0.5644, allocations: 1.156 kB / 0.6923 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.126e-05/0.5645, allocations: 326.2 kB / 0.6926 GB, free: 10 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.5646, allocations: 48.55 kB / 0.6927 GB, free: 9.988 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001687/0.5648, allocations: 110.3 kB / 0.6928 GB, free: 9.891 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001769/0.565, allocations: 67.05 kB / 0.6929 GB, free: 9.863 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.751e-06/0.565, allocations: 0 / 0.6929 GB, free: 9.863 MB / 0.5261 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005341/0.5656, allocations: 215.3 kB / 0.6931 GB, free: 9.758 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.5656, allocations: 6.953 kB / 0.6931 GB, free: 9.758 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.5656, allocations: 6.375 kB / 0.6931 GB, free: 9.754 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001908/0.5658, allocations: 31.58 kB / 0.6931 GB, free: 9.738 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001942/0.566, allocations: 38.22 kB / 0.6931 GB, free: 9.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001038/0.5671, allocations: 1.331 MB / 0.6944 GB, free: 8.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002142/0.5673, allocations: 24.27 kB / 0.6945 GB, free: 8.395 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.258e-05/0.5674, allocations: 6.875 kB / 0.6945 GB, free: 8.395 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (18): * Single equations (assignments): 17 * 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.000175/0.5676, allocations: 156.4 kB / 0.6946 GB, free: 8.254 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.965e-05/0.5676, allocations: 20.5 kB / 0.6946 GB, free: 8.242 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.567e-05/0.5677, allocations: 18.52 kB / 0.6947 GB, free: 8.23 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.673e-06/0.5677, allocations: 1.828 kB / 0.6947 GB, free: 8.23 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.406e-06/0.5677, allocations: 1.312 kB / 0.6947 GB, free: 8.23 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.5677, allocations: 0.7031 kB / 0.6947 GB, free: 8.23 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007949/0.5685, allocations: 0.4894 MB / 0.6951 GB, free: 7.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.064e-06/0.5686, allocations: 1.094 kB / 0.6951 GB, free: 7.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.694e-05/0.5687, allocations: 13.06 kB / 0.6952 GB, free: 7.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000123/0.5688, allocations: 22.69 kB / 0.6952 GB, free: 7.828 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.5688, allocations: 6.141 kB / 0.6952 GB, free: 7.824 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009475/0.5698, allocations: 1.328 MB / 0.6965 GB, free: 6.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.043e-06/0.5698, allocations: 4 kB / 0.6965 GB, free: 6.496 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003883/0.5702, allocations: 240.5 kB / 0.6967 GB, free: 6.316 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.906e-05/0.5703, allocations: 104.8 kB / 0.6968 GB, free: 6.207 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.129e-05/0.5704, allocations: 4.891 kB / 0.6968 GB, free: 6.203 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00018/0.5705, allocations: 11.52 kB / 0.6968 GB, free: 6.199 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.76e-05/0.5706, allocations: 9.531 kB / 0.6968 GB, free: 6.195 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.5706, allocations: 2.281 kB / 0.6968 GB, free: 6.195 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001671/0.5708, allocations: 145.8 kB / 0.697 GB, free: 6.102 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.05e-07/0.5708, allocations: 0 / 0.697 GB, free: 6.102 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000485/0.5713, allocations: 55.53 kB / 0.697 GB, free: 6.09 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 (7): * Single equations (assignments): 6 * 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.0001056/0.5714, allocations: 103 kB / 0.6971 GB, free: 5.996 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005669/0.572, allocations: 233.1 kB / 0.6973 GB, free: 5.852 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.664e-06/0.572, allocations: 0 / 0.6973 GB, free: 5.852 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002613/0.5723, allocations: 174.6 kB / 0.6975 GB, free: 5.715 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/0.5727, allocations: 35.59 kB / 0.6975 GB, free: 5.703 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009291/0.5736, allocations: 482 kB / 0.698 GB, free: 5.398 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.5739, allocations: 0.7593 MB / 0.6987 GB, free: 4.695 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001589/0.5741, allocations: 31.12 kB / 0.6988 GB, free: 4.688 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.61e-05/0.5741, allocations: 15.16 kB / 0.6988 GB, free: 4.68 MB / 0.5261 GB Notification: Performance of SimCode: time 1.699e-06/0.5741, allocations: 0 / 0.6988 GB, free: 4.68 MB / 0.5261 GB Notification: Performance of Templates: time 0.006577/0.5807, allocations: 1.761 MB / 0.7005 GB, free: 4.477 MB / 0.5261 GB