Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.DC.Loads.Examples.VariableLoad.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.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.553/2.553, allocations: 287.9 MB / 302.9 MB, free: 8.246 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.001448/0.001448, allocations: 169.6 kB / 371.4 MB, free: 10.68 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.054/2.054, allocations: 205.4 MB / 0.6301 GB, free: 10.34 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.001056/0.001056, allocations: 92.73 kB / 0.7434 GB, free: 6.344 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004509/0.0004512, allocations: 15 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2214, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.004006/0.2255, allocations: 3.289 MB / 0.982 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002582/0.2281, allocations: 1.638 MB / 0.9836 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002015/0.2283, allocations: 11.94 kB / 0.9836 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001986/0.2285, allocations: 55.61 kB / 0.9836 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005054/0.2291, allocations: 159.5 kB / 0.9838 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006967/0.2298, allocations: 197.9 kB / 0.984 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005506/0.2303, allocations: 291.3 kB / 0.9842 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005626/0.2309, allocations: 340.3 kB / 0.9846 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002779/0.2312, allocations: 131.5 kB / 0.9847 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002709/0.2315, allocations: 151.4 kB / 0.9848 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.652e-05/0.2316, allocations: 16 kB / 0.9848 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002429/0.2318, allocations: 91.8 kB / 0.9849 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.232, allocations: 99.72 kB / 0.985 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.412e-05/0.232, allocations: 85.52 kB / 0.9851 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003909/0.2324, allocations: 359.3 kB / 0.9855 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.274e-06/0.2325, allocations: 11.94 kB / 0.9855 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.021e-06/0.2325, allocations: 0 / 0.9855 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.35e-05/0.2325, allocations: 0 / 0.9855 GB, free: 21.24 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.000953/0.2335, allocations: 0.6041 MB / 0.9861 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.2335, allocations: 12.02 kB / 0.9861 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006918/0.2342, allocations: 99.34 kB / 0.9862 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003594/0.2346, allocations: 290.1 kB / 0.9864 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/0.2346, allocations: 20.66 kB / 0.9865 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.493e-05/0.2347, allocations: 27.98 kB / 0.9865 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008946/0.2356, allocations: 493.8 kB / 0.987 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.2356, allocations: 4 kB / 0.987 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.442e-05/0.2357, allocations: 15.98 kB / 0.987 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.488e-05/0.2358, allocations: 36.62 kB / 0.987 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009035/0.2367, allocations: 390.2 kB / 0.9874 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002295/0.239, allocations: 2.045 MB / 0.9894 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007198/0.2398, allocations: 226.6 kB / 0.9896 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.797e-05/0.2398, allocations: 8.078 kB / 0.9896 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.701e-05/0.2398, allocations: 30.56 kB / 0.9896 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 3.154e-06/0.2398, allocations: 0 / 0.9896 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.001275/0.2411, allocations: 470.2 kB / 0.9901 GB, free: 16.15 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.577e-05/0.2412, allocations: 59.36 kB / 0.9901 GB, free: 16.08 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002697/0.2415, allocations: 262.6 kB / 0.9904 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.2415, allocations: 29.7 kB / 0.9904 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.2416, allocations: 215.7 kB / 0.9906 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.659e-05/0.2417, allocations: 59.11 kB / 0.9907 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.708e-05/0.2417, allocations: 8 kB / 0.9907 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.798e-05/0.2418, allocations: 330.8 kB / 0.991 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003144/0.2421, allocations: 104.5 kB / 0.9911 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003462/0.2425, allocations: 218.7 kB / 0.9913 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000344/0.2428, allocations: 128.9 kB / 0.9914 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.068e-06/0.2429, allocations: 3.984 kB / 0.9914 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000943/0.2438, allocations: 387.5 kB / 0.9918 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002678/0.2441, allocations: 1.311 MB / 0.9931 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.2441, allocations: 4 kB / 0.9931 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002218/0.2444, allocations: 32.84 kB / 0.9931 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004268/0.2448, allocations: 71.89 kB / 0.9932 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001124/0.2459, allocations: 1.354 MB / 0.9945 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003433/0.2463, allocations: 55.77 kB / 0.9946 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.935e-05/0.2464, allocations: 16 kB / 0.9946 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.356e-06/0.2464, allocations: 4 kB / 0.9946 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007426/0.2471, allocations: 300.6 kB / 0.9949 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.908e-06/0.2472, allocations: 8.094 kB / 0.9949 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.2472, allocations: 11.98 kB / 0.9949 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003418/0.2475, allocations: 71.91 kB / 0.995 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.2475, allocations: 7.984 kB / 0.995 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002819/0.2478, allocations: 35.83 kB / 0.995 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.46e-05/0.2479, allocations: 16 kB / 0.995 GB, free: 10.76 MB / 0.6198 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.0002083/0.2481, allocations: 249 kB / 0.9953 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.914e-05/0.2482, allocations: 27.67 kB / 0.9953 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.114e-05/0.2483, allocations: 34.17 kB / 0.9953 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.255e-06/0.2483, allocations: 0 / 0.9953 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.2483, allocations: 4 kB / 0.9953 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.2483, allocations: 0 / 0.9953 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004327/0.2487, allocations: 357.3 kB / 0.9957 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.533e-06/0.2488, allocations: 4 kB / 0.9957 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002866/0.249, allocations: 39.97 kB / 0.9957 GB, free: 10 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001488/0.2492, allocations: 24.84 kB / 0.9957 GB, free: 9.977 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/0.2492, allocations: 3.953 kB / 0.9957 GB, free: 9.973 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009359/0.2502, allocations: 1.327 MB / 0.997 GB, free: 8.512 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.2502, allocations: 0 / 0.997 GB, free: 8.512 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007927/0.251, allocations: 377.7 kB / 0.9974 GB, free: 8.125 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.2512, allocations: 128.7 kB / 0.9975 GB, free: 7.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.208e-05/0.2512, allocations: 8 kB / 0.9975 GB, free: 7.973 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002645/0.2515, allocations: 15.98 kB / 0.9975 GB, free: 7.957 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.914e-05/0.2516, allocations: 19.97 kB / 0.9975 GB, free: 7.938 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/0.2516, allocations: 8 kB / 0.9976 GB, free: 7.93 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001778/0.2518, allocations: 182 kB / 0.9977 GB, free: 7.758 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.25e-07/0.2518, allocations: 0 / 0.9977 GB, free: 7.758 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000763/0.2526, allocations: 143.5 kB / 0.9979 GB, free: 7.617 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 (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 9.669e-05/0.2527, allocations: 99.25 kB / 0.998 GB, free: 7.512 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001232/0.2539, allocations: 0.5333 MB / 0.9985 GB, free: 6.969 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.419e-06/0.254, allocations: 3.938 kB / 0.9985 GB, free: 6.965 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003901/0.2544, allocations: 228.3 kB / 0.9987 GB, free: 6.73 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004797/0.2548, allocations: 64.47 kB / 0.9988 GB, free: 6.664 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009448/0.2558, allocations: 0.6494 MB / 0.9994 GB, free: 5.984 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/0.2561, allocations: 0.8072 MB / 1 GB, free: 5.148 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002977/0.2564, allocations: 70.22 kB / 1 GB, free: 5.078 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.808e-05/0.2565, allocations: 23.44 kB / 1 GB, free: 5.059 MB / 0.6198 GB Notification: Performance of SimCode: time 1.498e-06/0.2565, allocations: 0 / 1 GB, free: 5.059 MB / 0.6198 GB Notification: Performance of Templates: time 0.008777/0.2653, allocations: 3.077 MB / 1.003 GB, free: 2.016 MB / 0.6198 GB