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.LinearizedLoad.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.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01538/0.01539, allocations: 107.8 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.001856/0.001856, allocations: 179 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.941/1.941, allocations: 194.5 MB / 211.3 MB, free: 11.07 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.203/2.203, allocations: 236.1 MB / 492.6 MB, free: 11.29 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004729/0.0004731, allocations: 12 kB / 0.5869 GB, free: 2.188 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5472/0.5477, allocations: 98.71 MB / 0.6833 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.004685/0.5524, allocations: 3.494 MB / 0.6867 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002957/0.5554, allocations: 1.471 MB / 0.6882 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000365/0.5558, allocations: 5 kB / 0.6882 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0002608/0.5561, allocations: 68.16 kB / 0.6882 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0006632/0.5568, allocations: 157.7 kB / 0.6884 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007724/0.5576, allocations: 164.3 kB / 0.6886 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0005956/0.5582, allocations: 299.6 kB / 0.6888 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005076/0.5587, allocations: 395.2 kB / 0.6892 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002552/0.559, allocations: 155.6 kB / 0.6894 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003832/0.5594, allocations: 166.8 kB / 0.6895 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 6.248e-05/0.5595, allocations: 19.59 kB / 0.6895 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002929/0.5598, allocations: 81.5 kB / 0.6896 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001487/0.5599, allocations: 119.8 kB / 0.6897 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.56, allocations: 91.39 kB / 0.6898 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0005785/0.5606, allocations: 390.9 kB / 0.6902 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.803e-06/0.5606, allocations: 0 / 0.6902 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.298e-06/0.5607, allocations: 0 / 0.6902 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.701e-06/0.5607, allocations: 0 / 0.6902 GB, free: 12.52 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.00115/0.5618, allocations: 0.6218 MB / 0.6908 GB, free: 12.03 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.5619, allocations: 10.14 kB / 0.6908 GB, free: 12.03 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009948/0.5629, allocations: 120.7 kB / 0.6909 GB, free: 12 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004457/0.5634, allocations: 286.2 kB / 0.6912 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.593e-05/0.5635, allocations: 59.14 kB / 0.6913 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.521e-05/0.5636, allocations: 34.09 kB / 0.6913 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/0.5647, allocations: 0.4984 MB / 0.6918 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.832e-05/0.5647, allocations: 3.938 kB / 0.6918 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.401e-05/0.5648, allocations: 17.17 kB / 0.6918 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.894e-05/0.5649, allocations: 33.42 kB / 0.6918 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001001/0.5659, allocations: 388.8 kB / 0.6922 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002894/0.5688, allocations: 2.228 MB / 0.6944 GB, free: 9.434 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009861/0.5698, allocations: 278.7 kB / 0.6946 GB, free: 9.332 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.583e-05/0.5699, allocations: 7.812 kB / 0.6946 GB, free: 9.328 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.5699, allocations: 40.22 kB / 0.6947 GB, free: 9.281 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=19): time 3.096e-06/0.5699, allocations: 0 / 0.6947 GB, free: 9.281 MB / 0.5261 GB Notification: Performance of matching and sorting (n=19): time 0.00189/0.5718, allocations: 0.5981 MB / 0.6953 GB, free: 8.934 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.409e-05/0.5719, allocations: 57.88 kB / 0.6953 GB, free: 8.867 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002918/0.5722, allocations: 226.2 kB / 0.6955 GB, free: 8.723 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/0.5722, allocations: 27.58 kB / 0.6956 GB, free: 8.691 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.5724, allocations: 210.1 kB / 0.6958 GB, free: 8.516 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.075e-05/0.5724, allocations: 66.2 kB / 0.6958 GB, free: 8.465 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.744e-05/0.5725, allocations: 0.6875 kB / 0.6958 GB, free: 8.465 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.128e-05/0.5725, allocations: 334.2 kB / 0.6962 GB, free: 8.141 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003043/0.5729, allocations: 97.72 kB / 0.6962 GB, free: 8.113 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003509/0.5732, allocations: 180.8 kB / 0.6964 GB, free: 7.984 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003568/0.5736, allocations: 127.7 kB / 0.6965 GB, free: 7.938 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.195e-06/0.5736, allocations: 1 kB / 0.6965 GB, free: 7.938 MB / 0.5261 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001193/0.5748, allocations: 398.3 kB / 0.6969 GB, free: 7.77 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001968/0.575, allocations: 0.8758 MB / 0.6978 GB, free: 6.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.997e-06/0.5751, allocations: 2.188 kB / 0.6978 GB, free: 6.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00063/0.5757, allocations: 105 kB / 0.6979 GB, free: 6.809 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003038/0.576, allocations: 57.36 kB / 0.6979 GB, free: 6.801 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003368/0.5794, allocations: 2.864 MB / 0.7007 GB, free: 4.078 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003836/0.5798, allocations: 42.84 kB / 0.7008 GB, free: 4.055 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.418e-05/0.5799, allocations: 12.88 kB / 0.7008 GB, free: 4.051 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.5799, allocations: 2.906 kB / 0.7008 GB, free: 4.051 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001003/0.5809, allocations: 321.2 kB / 0.7011 GB, free: 3.941 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.2e-06/0.5809, allocations: 2.75 kB / 0.7011 GB, free: 3.941 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003852/0.5813, allocations: 81.25 kB / 0.7012 GB, free: 3.918 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003376/0.5817, allocations: 56.42 kB / 0.7012 GB, free: 3.914 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00213/0.5838, allocations: 1.521 MB / 0.7027 GB, free: 2.535 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003383/0.5842, allocations: 29.25 kB / 0.7027 GB, free: 2.523 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.867e-05/0.5842, allocations: 8.25 kB / 0.7027 GB, free: 2.523 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 (27): * Single equations (assignments): 25 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002821/0.5845, allocations: 256.2 kB / 0.703 GB, free: 2.297 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.243e-05/0.5846, allocations: 23.38 kB / 0.703 GB, free: 2.285 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.268e-05/0.5847, allocations: 30.64 kB / 0.703 GB, free: 2.266 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.831e-06/0.5847, allocations: 2.75 kB / 0.703 GB, free: 2.266 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.082e-06/0.5847, allocations: 0 / 0.703 GB, free: 2.266 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.5847, allocations: 1.312 kB / 0.703 GB, free: 2.266 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005321/0.5853, allocations: 382 kB / 0.7034 GB, free: 1.941 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.893e-06/0.5853, allocations: 5.219 kB / 0.7034 GB, free: 1.938 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002571/0.5856, allocations: 32.45 kB / 0.7034 GB, free: 1.93 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005078/0.5861, allocations: 103.3 kB / 0.7035 GB, free: 1.871 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.078e-05/0.5861, allocations: 2 kB / 0.7035 GB, free: 1.871 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003302/0.5894, allocations: 2.825 MB / 0.7063 GB, free: 15.06 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.5895, allocations: 0 / 0.7063 GB, free: 15.06 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.5906, allocations: 420 kB / 0.7067 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001718/0.5908, allocations: 113.6 kB / 0.7068 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.357e-05/0.5909, allocations: 9 kB / 0.7068 GB, free: 14.65 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002413/0.5911, allocations: 15.52 kB / 0.7068 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.415e-05/0.5912, allocations: 23.61 kB / 0.7069 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.42e-05/0.5913, allocations: 12.75 kB / 0.7069 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002156/0.5915, allocations: 157.4 kB / 0.707 GB, free: 14.51 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7.81e-07/0.5915, allocations: 0 / 0.707 GB, free: 14.51 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0008763/0.5924, allocations: 173.5 kB / 0.7072 GB, free: 14.46 MB / 0.5417 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 (16): * Single equations (assignments): 14 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001523/0.5926, allocations: 110.5 kB / 0.7073 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00241/0.595, allocations: 0.7678 MB / 0.708 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.595, allocations: 1.312 kB / 0.708 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0009798/0.596, allocations: 370.2 kB / 0.7084 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004674/0.5965, allocations: 60.02 kB / 0.7085 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/0.598, allocations: 0.6781 MB / 0.7091 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005633/0.5986, allocations: 0.8186 MB / 0.7099 GB, free: 12.24 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003319/0.5989, allocations: 57.33 kB / 0.71 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.884e-05/0.599, allocations: 18.78 kB / 0.71 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of SimCode: time 1.598e-06/0.599, allocations: 0 / 0.71 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of Templates: time 0.01481/0.6138, allocations: 4.084 MB / 0.714 GB, free: 10.17 MB / 0.5417 GB