Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.672/2.672, allocations: 287.9 MB / 302.9 MB, free: 8.332 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001409/0.001409, allocations: 178.7 kB / 371.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.028/2.028, allocations: 205.4 MB / 0.6301 GB, free: 10.3 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001018/0.001018, allocations: 95.53 kB / 0.7434 GB, free: 6.305 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004609/0.0004612, allocations: 11 kB / 0.8662 GB, free: 141.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1722, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.004466/0.1767, allocations: 3.488 MB / 0.9821 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002511/0.1792, allocations: 1.506 MB / 0.9836 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002008/0.1795, allocations: 4 kB / 0.9836 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001946/0.1797, allocations: 67.59 kB / 0.9837 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004159/0.1801, allocations: 151.5 kB / 0.9838 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005171/0.1806, allocations: 167.6 kB / 0.984 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003708/0.181, allocations: 303.3 kB / 0.9843 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004026/0.1814, allocations: 394.6 kB / 0.9847 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001813/0.1816, allocations: 147.5 kB / 0.9848 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002856/0.1819, allocations: 171.3 kB / 0.985 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.909e-05/0.182, allocations: 20 kB / 0.985 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000198/0.1822, allocations: 71.95 kB / 0.985 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.1824, allocations: 115.7 kB / 0.9852 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.648e-05/0.1825, allocations: 101.5 kB / 0.9853 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003965/0.1829, allocations: 383.3 kB / 0.9856 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.536e-06/0.1829, allocations: 0 / 0.9856 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.358e-06/0.1829, allocations: 3.984 kB / 0.9856 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.625e-06/0.1829, allocations: 0 / 0.9856 GB, free: 21.06 MB / 0.6198 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.001008/0.1839, allocations: 0.624 MB / 0.9862 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.184, allocations: 12.02 kB / 0.9862 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008864/0.1849, allocations: 119.4 kB / 0.9864 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003703/0.1853, allocations: 298.4 kB / 0.9866 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.301e-05/0.1854, allocations: 50.7 kB / 0.9867 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.176e-05/0.1854, allocations: 36 kB / 0.9867 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009299/0.1864, allocations: 0.5007 MB / 0.9872 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.1864, allocations: 0 / 0.9872 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.213e-05/0.1865, allocations: 12 kB / 0.9872 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-05/0.1865, allocations: 36.97 kB / 0.9873 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008347/0.1874, allocations: 387.7 kB / 0.9876 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00243/0.1898, allocations: 2.231 MB / 0.9898 GB, free: 16.42 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008628/0.1907, allocations: 274.6 kB / 0.9901 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.038e-05/0.1908, allocations: 11.92 kB / 0.9901 GB, free: 16.13 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.707e-05/0.1908, allocations: 38.56 kB / 0.9901 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=19): time 3.411e-06/0.1908, allocations: 0 / 0.9901 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19): time 0.001686/0.1925, allocations: 0.5933 MB / 0.9907 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.093e-05/0.1925, allocations: 51.41 kB / 0.9907 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000227/0.1928, allocations: 232.9 kB / 0.991 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.1928, allocations: 29.7 kB / 0.991 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.1929, allocations: 207.7 kB / 0.9912 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.806e-05/0.193, allocations: 66.95 kB / 0.9913 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.635e-05/0.193, allocations: 4 kB / 0.9913 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.28e-05/0.1931, allocations: 334.8 kB / 0.9916 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002653/0.1934, allocations: 99.94 kB / 0.9917 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003028/0.1937, allocations: 182.9 kB / 0.9919 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003026/0.194, allocations: 118.6 kB / 0.992 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.775e-06/0.194, allocations: 8 kB / 0.992 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00104/0.1951, allocations: 389.8 kB / 0.9923 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001819/0.1953, allocations: 0.8781 MB / 0.9932 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.908e-06/0.1953, allocations: 4 kB / 0.9932 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005783/0.1959, allocations: 113.6 kB / 0.9933 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002805/0.1962, allocations: 59.91 kB / 0.9934 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003227/0.1994, allocations: 2.849 MB / 0.9962 GB, free: 9.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003584/0.1998, allocations: 32.03 kB / 0.9962 GB, free: 9.398 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.893e-05/0.1999, allocations: 15.98 kB / 0.9962 GB, free: 9.383 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.1999, allocations: 4 kB / 0.9962 GB, free: 9.379 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009058/0.2008, allocations: 323.3 kB / 0.9965 GB, free: 9.062 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/0.2008, allocations: 7.938 kB / 0.9965 GB, free: 9.055 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003623/0.2012, allocations: 76.91 kB / 0.9966 GB, free: 8.977 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002874/0.2015, allocations: 59.91 kB / 0.9966 GB, free: 8.918 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002034/0.2036, allocations: 1.512 MB / 0.9981 GB, free: 7.277 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003138/0.2039, allocations: 31.73 kB / 0.9982 GB, free: 7.246 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.543e-05/0.2039, allocations: 15.98 kB / 0.9982 GB, free: 7.23 MB / 0.6198 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.0002398/0.2042, allocations: 249 kB / 0.9984 GB, free: 6.977 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.73e-05/0.2043, allocations: 23.83 kB / 0.9984 GB, free: 6.953 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.945e-05/0.2043, allocations: 34.17 kB / 0.9985 GB, free: 6.918 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.444e-06/0.2044, allocations: 0 / 0.9985 GB, free: 6.918 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.2044, allocations: 0 / 0.9985 GB, free: 6.918 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.2044, allocations: 3.984 kB / 0.9985 GB, free: 6.914 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004593/0.2048, allocations: 377.3 kB / 0.9988 GB, free: 6.496 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.2049, allocations: 0 / 0.9988 GB, free: 6.496 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001992/0.2051, allocations: 31.98 kB / 0.9989 GB, free: 6.465 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004863/0.2056, allocations: 109.6 kB / 0.999 GB, free: 6.352 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.2056, allocations: 0 / 0.999 GB, free: 6.352 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002805/0.2084, allocations: 2.834 MB / 1.002 GB, free: 3.254 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.558e-06/0.2085, allocations: 0 / 1.002 GB, free: 3.254 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009051/0.2094, allocations: 415.5 kB / 1.002 GB, free: 2.828 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.2095, allocations: 116.8 kB / 1.002 GB, free: 2.695 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.63e-05/0.2096, allocations: 0 / 1.002 GB, free: 2.695 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/0.2098, allocations: 19.98 kB / 1.002 GB, free: 2.676 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.092e-05/0.2099, allocations: 23.92 kB / 1.002 GB, free: 2.652 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-05/0.2099, allocations: 4 kB / 1.002 GB, free: 2.648 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000165/0.2101, allocations: 168.4 kB / 1.002 GB, free: 2.48 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.1e-07/0.2101, allocations: 0 / 1.002 GB, free: 2.48 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007487/0.2109, allocations: 167.4 kB / 1.003 GB, free: 2.316 MB / 0.6198 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.0001105/0.211, allocations: 105.1 kB / 1.003 GB, free: 2.207 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002007/0.213, allocations: 0.7737 MB / 1.003 GB, free: 1.395 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.213, allocations: 0 / 1.003 GB, free: 1.395 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0008089/0.2139, allocations: 373.6 kB / 1.004 GB, free: 1.004 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004224/0.2143, allocations: 50.42 kB / 1.004 GB, free: 0.957 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.2154, allocations: 0.6913 MB / 1.005 GB, free: 236 kB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004941/0.2159, allocations: 0.8113 MB / 1.005 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002945/0.2163, allocations: 62.23 kB / 1.005 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.96e-05/0.2163, allocations: 19.44 kB / 1.005 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of SimCode: time 1.482e-06/0.2164, allocations: 0 / 1.005 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of Templates: time 0.01228/0.2286, allocations: 4.092 MB / 1.009 GB, free: 11.25 MB / 0.6355 GB