Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.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.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.313/2.313, allocations: 251.1 MB / 266.1 MB, free: 11.62 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.001581/0.001581, allocations: 181.2 kB / 325.6 MB, free: 2.828 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.605/2.605, allocations: 205.4 MB / 0.5766 GB, free: 21.15 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.001151/0.001151, allocations: 98.92 kB / 0.6811 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004557/0.0004559, allocations: 12.47 kB / 0.7951 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.2043, allocations: 106.3 MB / 0.8989 GB, free: 66 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.005489/0.2099, allocations: 3.265 MB / 0.9021 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00353/0.2135, allocations: 1.591 MB / 0.9036 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003547/0.2139, allocations: 7.938 kB / 0.9036 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002558/0.2142, allocations: 55.66 kB / 0.9037 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006627/0.2148, allocations: 159.4 kB / 0.9038 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006714/0.2155, allocations: 160.8 kB / 0.904 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004503/0.216, allocations: 259.5 kB / 0.9042 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004323/0.2164, allocations: 293.2 kB / 0.9045 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002015/0.2166, allocations: 131.5 kB / 0.9046 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003382/0.217, allocations: 147.4 kB / 0.9048 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.827e-05/0.2171, allocations: 16 kB / 0.9048 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003817/0.2175, allocations: 111.8 kB / 0.9049 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.2176, allocations: 99.77 kB / 0.905 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.53e-05/0.2177, allocations: 85.52 kB / 0.9051 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005365/0.2182, allocations: 367.1 kB / 0.9054 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2182, allocations: 0 / 0.9054 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2183, allocations: 0 / 0.9054 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.2183, allocations: 0 / 0.9054 GB, free: 59.23 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.00106/0.2193, allocations: 0.5846 MB / 0.906 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.2194, allocations: 11.97 kB / 0.906 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001393/0.2208, allocations: 159.4 kB / 0.9062 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004985/0.2213, allocations: 270.6 kB / 0.9064 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.383e-05/0.2214, allocations: 16.66 kB / 0.9064 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.124e-05/0.2214, allocations: 28 kB / 0.9065 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009059/0.2224, allocations: 463.6 kB / 0.9069 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.2224, allocations: 3.984 kB / 0.9069 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.268e-05/0.2225, allocations: 15.98 kB / 0.9069 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.195e-05/0.2225, allocations: 28.5 kB / 0.9069 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007179/0.2233, allocations: 317.9 kB / 0.9072 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00273/0.226, allocations: 2.193 MB / 0.9094 GB, free: 54.83 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005091/0.2266, allocations: 251.8 kB / 0.9096 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.2266, allocations: 7.938 kB / 0.9096 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.2267, allocations: 34.56 kB / 0.9097 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=14): time 3.667e-06/0.2267, allocations: 0 / 0.9097 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14): time 0.0008191/0.2275, allocations: 312.9 kB / 0.91 GB, free: 54.17 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.2276, allocations: 51.41 kB / 0.91 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003427/0.2279, allocations: 270.5 kB / 0.9103 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.2279, allocations: 29.7 kB / 0.9103 GB, free: 53.8 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.2281, allocations: 203.9 kB / 0.9105 GB, free: 53.6 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.492e-05/0.2281, allocations: 51.28 kB / 0.9105 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.485e-05/0.2281, allocations: 8 kB / 0.9106 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.83e-05/0.2282, allocations: 330.8 kB / 0.9109 GB, free: 53.21 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001502/0.2284, allocations: 60.44 kB / 0.9109 GB, free: 53.15 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/0.2286, allocations: 143.1 kB / 0.9111 GB, free: 52.97 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002011/0.2288, allocations: 83.91 kB / 0.9111 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.2288, allocations: 0 / 0.9111 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000615/0.2295, allocations: 268.2 kB / 0.9114 GB, free: 52.62 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.2295, allocations: 15.88 kB / 0.9114 GB, free: 52.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.2295, allocations: 4 kB / 0.9114 GB, free: 52.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002218/0.2298, allocations: 28.84 kB / 0.9114 GB, free: 52.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003424/0.2301, allocations: 44.27 kB / 0.9115 GB, free: 52.53 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001095/0.2312, allocations: 1.327 MB / 0.9128 GB, free: 51.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003097/0.2316, allocations: 27.94 kB / 0.9128 GB, free: 51.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.22e-05/0.2316, allocations: 16 kB / 0.9128 GB, free: 51.03 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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): 26 * 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.0002094/0.2318, allocations: 165.7 kB / 0.913 GB, free: 50.86 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.225e-05/0.2319, allocations: 27.67 kB / 0.913 GB, free: 50.83 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.769e-05/0.232, allocations: 29.83 kB / 0.913 GB, free: 50.8 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.232, allocations: 0 / 0.913 GB, free: 50.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.232, allocations: 0 / 0.913 GB, free: 50.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.232, allocations: 0 / 0.913 GB, free: 50.8 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001115/0.2331, allocations: 0.6351 MB / 0.9137 GB, free: 50.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.2332, allocations: 0 / 0.9137 GB, free: 50.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001716/0.2333, allocations: 24.05 kB / 0.9137 GB, free: 50.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000139/0.2335, allocations: 32.91 kB / 0.9137 GB, free: 50.03 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.2335, allocations: 4 kB / 0.9137 GB, free: 50.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001017/0.2345, allocations: 1.319 MB / 0.915 GB, free: 48.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.2346, allocations: 0 / 0.915 GB, free: 48.57 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004941/0.2351, allocations: 362.6 kB / 0.9154 GB, free: 48.16 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/0.2352, allocations: 116.8 kB / 0.9155 GB, free: 48.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.288e-05/0.2353, allocations: 0 / 0.9155 GB, free: 48.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002844/0.2356, allocations: 11.98 kB / 0.9155 GB, free: 48.02 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.885e-05/0.2357, allocations: 15.98 kB / 0.9155 GB, free: 48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/0.2357, allocations: 8 kB / 0.9155 GB, free: 48 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002329/0.2359, allocations: 186 kB / 0.9157 GB, free: 47.82 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2359, allocations: 0 / 0.9157 GB, free: 47.82 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005498/0.2365, allocations: 83.8 kB / 0.9158 GB, free: 47.73 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (13): * Single equations (assignments): 12 * 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.0001241/0.2366, allocations: 99.19 kB / 0.9158 GB, free: 47.62 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006303/0.2373, allocations: 277 kB / 0.9161 GB, free: 47.34 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/0.2373, allocations: 0 / 0.9161 GB, free: 47.34 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002728/0.2376, allocations: 194.4 kB / 0.9163 GB, free: 47.14 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005484/0.2381, allocations: 53.34 kB / 0.9164 GB, free: 47.09 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.2393, allocations: 0.6208 MB / 0.917 GB, free: 46.43 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/0.2396, allocations: 0.7989 MB / 0.9177 GB, free: 45.61 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.00026/0.2399, allocations: 50.23 kB / 0.9178 GB, free: 45.56 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.567e-05/0.2399, allocations: 19.44 kB / 0.9178 GB, free: 45.54 MB / 0.6042 GB Notification: Performance of SimCode: time 1.022e-06/0.2399, allocations: 0 / 0.9178 GB, free: 45.54 MB / 0.6042 GB Notification: Performance of Templates: time 0.008116/0.2481, allocations: 2.422 MB / 0.9202 GB, free: 43.14 MB / 0.6042 GB