Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.288/2.288, allocations: 251.1 MB / 266.1 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001603/0.001603, allocations: 183 kB / 325.6 MB, free: 2.832 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.822/2.822, allocations: 205.4 MB / 0.5766 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001478/0.001478, allocations: 88.36 kB / 0.6811 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004727/0.0004728, allocations: 12.47 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.2181, allocations: 106.3 MB / 0.8989 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.00664/0.2248, allocations: 3.297 MB / 0.9021 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004352/0.2292, allocations: 1.646 MB / 0.9037 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002895/0.2295, allocations: 4 kB / 0.9037 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002872/0.2298, allocations: 55.61 kB / 0.9038 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0007743/0.2306, allocations: 155.6 kB / 0.9039 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.2316, allocations: 201.8 kB / 0.9041 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0006946/0.2324, allocations: 291.4 kB / 0.9044 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005705/0.2329, allocations: 340.3 kB / 0.9047 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002856/0.2333, allocations: 139.5 kB / 0.9048 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004291/0.2337, allocations: 151.4 kB / 0.905 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.335e-05/0.2338, allocations: 16 kB / 0.905 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003807/0.2342, allocations: 79.89 kB / 0.9051 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001933/0.2344, allocations: 103.7 kB / 0.9052 GB, free: 59 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.2345, allocations: 85.52 kB / 0.9053 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006611/0.2352, allocations: 367.3 kB / 0.9056 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2352, allocations: 4 kB / 0.9056 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.114e-06/0.2352, allocations: 0 / 0.9056 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.2353, allocations: 0 / 0.9056 GB, free: 58.54 MB / 0.6042 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.001649/0.2369, allocations: 0.6042 MB / 0.9062 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.237, allocations: 8.031 kB / 0.9062 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001216/0.2382, allocations: 91.42 kB / 0.9063 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006391/0.2389, allocations: 286.4 kB / 0.9066 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.077e-05/0.239, allocations: 20.66 kB / 0.9066 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.144e-05/0.2391, allocations: 24 kB / 0.9066 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001576/0.2406, allocations: 497.8 kB / 0.9071 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/0.2407, allocations: 0 / 0.9071 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.113e-05/0.2408, allocations: 16 kB / 0.9071 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001188/0.2409, allocations: 44.58 kB / 0.9071 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001641/0.2426, allocations: 390.2 kB / 0.9075 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003443/0.246, allocations: 2.041 MB / 0.9095 GB, free: 54.23 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001135/0.2472, allocations: 234.7 kB / 0.9097 GB, free: 53.99 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.201e-05/0.2473, allocations: 4 kB / 0.9097 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.2473, allocations: 34.56 kB / 0.9098 GB, free: 53.94 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 3.717e-06/0.2474, allocations: 0 / 0.9098 GB, free: 53.94 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.002377/0.2497, allocations: 477.6 kB / 0.9102 GB, free: 53.45 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.2498, allocations: 55.41 kB / 0.9103 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004816/0.2503, allocations: 254.6 kB / 0.9105 GB, free: 53.12 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.242e-05/0.2504, allocations: 29.7 kB / 0.9105 GB, free: 53.09 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.2506, allocations: 207.7 kB / 0.9107 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.215e-05/0.2507, allocations: 71.08 kB / 0.9108 GB, free: 52.81 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.643e-05/0.2507, allocations: 8 kB / 0.9108 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.776e-05/0.2508, allocations: 334.8 kB / 0.9111 GB, free: 52.47 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005653/0.2514, allocations: 100.5 kB / 0.9112 GB, free: 52.37 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006395/0.2521, allocations: 214.8 kB / 0.9114 GB, free: 52.11 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006215/0.2527, allocations: 127.9 kB / 0.9116 GB, free: 51.99 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.603e-06/0.2528, allocations: 0 / 0.9116 GB, free: 51.99 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001679/0.2544, allocations: 386.7 kB / 0.9119 GB, free: 51.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.00039/0.2549, allocations: 1.312 MB / 0.9132 GB, free: 50.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/0.2549, allocations: 4 kB / 0.9132 GB, free: 50.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003552/0.2553, allocations: 40.83 kB / 0.9133 GB, free: 50.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006872/0.256, allocations: 79.83 kB / 0.9133 GB, free: 50.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001718/0.2577, allocations: 1.339 MB / 0.9146 GB, free: 48.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006611/0.2584, allocations: 47.89 kB / 0.9147 GB, free: 48.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.668e-05/0.2585, allocations: 16 kB / 0.9147 GB, free: 48.53 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.2585, allocations: 4 kB / 0.9147 GB, free: 48.53 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001317/0.2599, allocations: 305.5 kB / 0.915 GB, free: 48.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.2599, allocations: 4.031 kB / 0.915 GB, free: 48.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.2599, allocations: 12 kB / 0.915 GB, free: 48.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000667/0.2606, allocations: 75.89 kB / 0.9151 GB, free: 48.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/0.2606, allocations: 4 kB / 0.9151 GB, free: 48.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005101/0.2612, allocations: 43.67 kB / 0.9151 GB, free: 48.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.079e-05/0.2612, allocations: 23.98 kB / 0.9152 GB, free: 48.07 MB / 0.6042 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.0003505/0.2616, allocations: 241 kB / 0.9154 GB, free: 47.82 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.2617, allocations: 31.67 kB / 0.9154 GB, free: 47.79 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/0.2618, allocations: 34.12 kB / 0.9154 GB, free: 47.76 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.2619, allocations: 3.984 kB / 0.9155 GB, free: 47.76 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.2619, allocations: 4 kB / 0.9155 GB, free: 47.75 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.2619, allocations: 0 / 0.9155 GB, free: 47.75 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007103/0.2626, allocations: 345.4 kB / 0.9158 GB, free: 47.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.2626, allocations: 0 / 0.9158 GB, free: 47.37 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004854/0.2631, allocations: 43.97 kB / 0.9158 GB, free: 47.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002171/0.2634, allocations: 32.78 kB / 0.9159 GB, free: 47.29 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.01e-05/0.2634, allocations: 8 kB / 0.9159 GB, free: 47.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001373/0.2648, allocations: 1.327 MB / 0.9172 GB, free: 45.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2648, allocations: 0 / 0.9172 GB, free: 45.82 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/0.2662, allocations: 388.1 kB / 0.9175 GB, free: 45.42 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001968/0.2664, allocations: 116.8 kB / 0.9176 GB, free: 45.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.253e-05/0.2665, allocations: 4 kB / 0.9176 GB, free: 45.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004355/0.2669, allocations: 23.91 kB / 0.9177 GB, free: 45.26 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.267, allocations: 15.98 kB / 0.9177 GB, free: 45.24 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.762e-05/0.2671, allocations: 4 kB / 0.9177 GB, free: 45.24 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002904/0.2674, allocations: 190 kB / 0.9179 GB, free: 45.05 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.61e-07/0.2674, allocations: 0 / 0.9179 GB, free: 45.05 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001204/0.2686, allocations: 143.4 kB / 0.918 GB, free: 44.91 MB / 0.6042 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 0.000155/0.2688, allocations: 103.2 kB / 0.9181 GB, free: 44.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001961/0.2708, allocations: 0.5188 MB / 0.9186 GB, free: 44.27 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.2708, allocations: 1 kB / 0.9186 GB, free: 44.27 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005145/0.2713, allocations: 230.6 kB / 0.9188 GB, free: 44.03 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005787/0.2719, allocations: 61.59 kB / 0.9189 GB, free: 43.97 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/0.2731, allocations: 0.6536 MB / 0.9195 GB, free: 43.29 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.2734, allocations: 0.8033 MB / 0.9203 GB, free: 42.46 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003853/0.2738, allocations: 74.2 kB / 0.9204 GB, free: 42.39 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.853e-05/0.2739, allocations: 19.44 kB / 0.9204 GB, free: 42.37 MB / 0.6042 GB Notification: Performance of SimCode: time 1.122e-06/0.2739, allocations: 4 kB / 0.9204 GB, free: 42.37 MB / 0.6042 GB Notification: Performance of Templates: time 0.008979/0.2829, allocations: 3.057 MB / 0.9234 GB, free: 39.34 MB / 0.6042 GB