Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.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.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.453/2.453, 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.002361/0.002361, allocations: 180.6 kB / 325.6 MB, free: 2.848 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.515/2.515, allocations: 205.4 MB / 0.5766 GB, free: 20.75 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.001098/0.001098, allocations: 104.2 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004858/0.000486, allocations: 11.94 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2337, allocations: 106.3 MB / 0.8989 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.004328/0.2381, allocations: 2.728 MB / 0.9015 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002645/0.2408, allocations: 1.26 MB / 0.9028 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002114/0.2411, allocations: 7.938 kB / 0.9028 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002153/0.2414, allocations: 35.77 kB / 0.9028 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004746/0.2418, allocations: 111.6 kB / 0.9029 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005091/0.2424, allocations: 109.1 kB / 0.903 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003598/0.2427, allocations: 191.5 kB / 0.9032 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000372/0.2431, allocations: 223.2 kB / 0.9034 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002178/0.2434, allocations: 95.67 kB / 0.9035 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002731/0.2437, allocations: 107.6 kB / 0.9036 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.864e-05/0.2437, allocations: 12 kB / 0.9036 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003035/0.244, allocations: 79.81 kB / 0.9037 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.751e-05/0.2441, allocations: 63.83 kB / 0.9038 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.53e-05/0.2442, allocations: 65.58 kB / 0.9038 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003929/0.2446, allocations: 267.6 kB / 0.9041 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.2446, allocations: 0 / 0.9041 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.335e-06/0.2446, allocations: 0 / 0.9041 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.318e-05/0.2447, allocations: 0 / 0.9041 GB, free: 60.13 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001016/0.2457, allocations: 0.5028 MB / 0.9046 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.2457, allocations: 8.031 kB / 0.9046 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008965/0.2466, allocations: 83.64 kB / 0.9047 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004272/0.2471, allocations: 254.5 kB / 0.9049 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.68e-05/0.2471, allocations: 20.44 kB / 0.9049 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.461e-05/0.2472, allocations: 16 kB / 0.9049 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000718/0.2479, allocations: 312.3 kB / 0.9052 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.248, allocations: 0 / 0.9052 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.158e-05/0.248, allocations: 15.95 kB / 0.9052 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.353e-05/0.2481, allocations: 20.42 kB / 0.9053 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005872/0.2487, allocations: 213.6 kB / 0.9055 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00197/0.2507, allocations: 1.49 MB / 0.9069 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005936/0.2513, allocations: 215.6 kB / 0.9071 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.2513, allocations: 0 / 0.9071 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.2514, allocations: 30.56 kB / 0.9072 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 2.034e-06/0.2514, allocations: 0 / 0.9072 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0007948/0.2522, allocations: 279.3 kB / 0.9074 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/0.2522, allocations: 51.41 kB / 0.9075 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002443/0.2525, allocations: 204.5 kB / 0.9077 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.2525, allocations: 25.7 kB / 0.9077 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.2527, allocations: 183.6 kB / 0.9079 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.721e-05/0.2527, allocations: 23.81 kB / 0.9079 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.118e-05/0.2527, allocations: 4 kB / 0.9079 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.903e-05/0.2528, allocations: 330.8 kB / 0.9082 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.253, allocations: 39.98 kB / 0.9082 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002249/0.2532, allocations: 112.5 kB / 0.9084 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000193/0.2534, allocations: 67.81 kB / 0.9084 GB, free: 55.26 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.2534, allocations: 4 kB / 0.9084 GB, free: 55.26 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005624/0.254, allocations: 222 kB / 0.9086 GB, free: 55.03 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.254, allocations: 4 kB / 0.9086 GB, free: 55.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.2541, allocations: 4 kB / 0.9086 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000222/0.2543, allocations: 29.12 kB / 0.9087 GB, free: 54.99 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002424/0.2545, allocations: 36.02 kB / 0.9087 GB, free: 54.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001118/0.2557, allocations: 1.338 MB / 0.91 GB, free: 53.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002561/0.256, allocations: 19.83 kB / 0.91 GB, free: 53.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/0.256, allocations: 8 kB / 0.91 GB, free: 53.46 MB / 0.6042 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.0001811/0.2562, allocations: 150.6 kB / 0.9102 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.839e-05/0.2563, allocations: 16 kB / 0.9102 GB, free: 53.29 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.914e-05/0.2563, allocations: 25.39 kB / 0.9102 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.2563, allocations: 0 / 0.9102 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.2563, allocations: 0 / 0.9102 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-06/0.2563, allocations: 0 / 0.9102 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000826/0.2572, allocations: 491.2 kB / 0.9107 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.2572, allocations: 0 / 0.9107 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/0.2573, allocations: 15.98 kB / 0.9107 GB, free: 52.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001353/0.2575, allocations: 24.84 kB / 0.9107 GB, free: 52.68 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.2575, allocations: 8.062 kB / 0.9107 GB, free: 52.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009951/0.2585, allocations: 1.334 MB / 0.912 GB, free: 51.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2585, allocations: 0 / 0.912 GB, free: 51.21 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004251/0.259, allocations: 240.4 kB / 0.9123 GB, free: 50.96 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.151e-05/0.2591, allocations: 104.8 kB / 0.9124 GB, free: 50.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.234e-05/0.2591, allocations: 7.938 kB / 0.9124 GB, free: 50.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002047/0.2593, allocations: 12 kB / 0.9124 GB, free: 50.82 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.95e-05/0.2594, allocations: 7.984 kB / 0.9124 GB, free: 50.81 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.2594, allocations: 0 / 0.9124 GB, free: 50.81 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001527/0.2596, allocations: 145.5 kB / 0.9125 GB, free: 50.67 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.7e-07/0.2596, allocations: 0 / 0.9125 GB, free: 50.67 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005055/0.2601, allocations: 59.84 kB / 0.9126 GB, free: 50.61 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 (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.0001217/0.2602, allocations: 95.25 kB / 0.9127 GB, free: 50.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006178/0.2609, allocations: 234.9 kB / 0.9129 GB, free: 50.26 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.2609, allocations: 4.188 kB / 0.9129 GB, free: 50.26 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002903/0.2612, allocations: 162.6 kB / 0.9131 GB, free: 50.09 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004299/0.2616, allocations: 35.16 kB / 0.9131 GB, free: 50.05 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008961/0.2626, allocations: 487.3 kB / 0.9136 GB, free: 49.55 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.2628, allocations: 0.7671 MB / 0.9143 GB, free: 48.76 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000209/0.2631, allocations: 26.16 kB / 0.9143 GB, free: 48.73 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.572e-05/0.2631, allocations: 19.44 kB / 0.9144 GB, free: 48.71 MB / 0.6042 GB Notification: Performance of SimCode: time 1.213e-06/0.2631, allocations: 0 / 0.9144 GB, free: 48.71 MB / 0.6042 GB Notification: Performance of Templates: time 0.007182/0.2703, allocations: 1.764 MB / 0.9161 GB, free: 46.97 MB / 0.6042 GB