Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 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.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.DC.Loads.Examples.Resistor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.511/2.511, allocations: 287.9 MB / 302.9 MB, free: 8.309 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.001517/0.001517, allocations: 177.2 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.064/2.064, allocations: 205.4 MB / 0.6301 GB, free: 10.42 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.001041/0.00104, allocations: 93.73 kB / 0.7434 GB, free: 6.426 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004662/0.0004664, allocations: 10.88 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1968/0.1973, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.006534/0.2039, allocations: 3.249 MB / 0.9819 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004094/0.208, allocations: 1.599 MB / 0.9835 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003258/0.2084, allocations: 11.94 kB / 0.9835 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000284/0.2087, allocations: 55.66 kB / 0.9835 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0007835/0.2095, allocations: 155.5 kB / 0.9837 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009029/0.2104, allocations: 161.8 kB / 0.9838 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000694/0.2112, allocations: 263.4 kB / 0.9841 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005693/0.2117, allocations: 286 kB / 0.9844 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002668/0.212, allocations: 135.5 kB / 0.9845 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004051/0.2125, allocations: 131.5 kB / 0.9846 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.115e-05/0.2126, allocations: 16 kB / 0.9846 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005117/0.2131, allocations: 123.7 kB / 0.9848 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001502/0.2133, allocations: 95.77 kB / 0.9848 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001251/0.2134, allocations: 85.52 kB / 0.9849 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007645/0.2142, allocations: 371.3 kB / 0.9853 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.614e-06/0.2142, allocations: 0 / 0.9853 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.481e-06/0.2143, allocations: 0 / 0.9853 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.145e-05/0.2143, allocations: 0 / 0.9853 GB, free: 21.46 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001371/0.2157, allocations: 0.5769 MB / 0.9858 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.2157, allocations: 12.02 kB / 0.9859 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002219/0.218, allocations: 151.4 kB / 0.986 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006732/0.2187, allocations: 286.4 kB / 0.9863 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.662e-05/0.2188, allocations: 28.59 kB / 0.9863 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.068e-05/0.2189, allocations: 27.98 kB / 0.9863 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00128/0.2202, allocations: 455.6 kB / 0.9868 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/0.2202, allocations: 0 / 0.9868 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.511e-05/0.2203, allocations: 15.98 kB / 0.9868 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-05/0.2204, allocations: 28.55 kB / 0.9868 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.2215, allocations: 321.9 kB / 0.9871 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003757/0.2253, allocations: 2.197 MB / 0.9893 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006785/0.226, allocations: 247.8 kB / 0.9895 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.2261, allocations: 4 kB / 0.9895 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.2261, allocations: 34.5 kB / 0.9895 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 7.846e-06/0.2262, allocations: 0 / 0.9895 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.00112/0.2273, allocations: 315.5 kB / 0.9898 GB, free: 16.4 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.2274, allocations: 59.36 kB / 0.9899 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000489/0.2279, allocations: 266.6 kB / 0.9901 GB, free: 16.06 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.2279, allocations: 29.7 kB / 0.9902 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/0.2281, allocations: 211.8 kB / 0.9904 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.22e-05/0.2282, allocations: 43.3 kB / 0.9904 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.407e-05/0.2282, allocations: 11.94 kB / 0.9904 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.195e-05/0.2283, allocations: 330.8 kB / 0.9907 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002259/0.2286, allocations: 60.44 kB / 0.9908 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002796/0.2289, allocations: 143.2 kB / 0.9909 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002946/0.2292, allocations: 85.16 kB / 0.991 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.654e-06/0.2292, allocations: 0 / 0.991 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009208/0.2302, allocations: 270 kB / 0.9913 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/0.2302, allocations: 9.547 kB / 0.9913 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.2303, allocations: 4 kB / 0.9913 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002589/0.2305, allocations: 32.8 kB / 0.9913 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004488/0.231, allocations: 43.92 kB / 0.9914 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001523/0.2326, allocations: 1.323 MB / 0.9927 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004101/0.233, allocations: 27.69 kB / 0.9927 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.389e-05/0.2331, allocations: 8 kB / 0.9927 GB, free: 13.25 MB / 0.6198 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.0002901/0.2334, allocations: 170 kB / 0.9928 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.2335, allocations: 23.72 kB / 0.9929 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.039e-05/0.2336, allocations: 33.78 kB / 0.9929 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.7e-06/0.2336, allocations: 0 / 0.9929 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.982e-06/0.2337, allocations: 96 / 0.9929 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.094e-06/0.2337, allocations: 3.938 kB / 0.9929 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001652/0.2353, allocations: 0.6389 MB / 0.9935 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.069e-06/0.2354, allocations: 0 / 0.9935 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002276/0.2356, allocations: 23.98 kB / 0.9936 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001985/0.2359, allocations: 32.77 kB / 0.9936 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.229e-05/0.2359, allocations: 0 / 0.9936 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001424/0.2373, allocations: 1.319 MB / 0.9949 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.425e-06/0.2374, allocations: 4.031 kB / 0.9949 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006517/0.2381, allocations: 367.2 kB / 0.9952 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001765/0.2383, allocations: 108.8 kB / 0.9953 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.849e-05/0.2383, allocations: 4 kB / 0.9953 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004269/0.2388, allocations: 11.98 kB / 0.9953 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.913e-05/0.2389, allocations: 15.98 kB / 0.9954 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.577e-05/0.2389, allocations: 4 kB / 0.9954 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003512/0.2393, allocations: 190 kB / 0.9955 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.242e-06/0.2393, allocations: 4 kB / 0.9955 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009542/0.2403, allocations: 79.69 kB / 0.9956 GB, free: 9.945 MB / 0.6198 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.0001511/0.2405, allocations: 105.6 kB / 0.9957 GB, free: 9.836 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008317/0.2413, allocations: 275.1 kB / 0.996 GB, free: 9.555 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.271e-06/0.2413, allocations: 4 kB / 0.996 GB, free: 9.551 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003928/0.2418, allocations: 182.5 kB / 0.9962 GB, free: 9.359 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000725/0.2425, allocations: 52.75 kB / 0.9962 GB, free: 9.309 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/0.2441, allocations: 0.6292 MB / 0.9968 GB, free: 8.641 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004072/0.2445, allocations: 0.7989 MB / 0.9976 GB, free: 7.816 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003461/0.2449, allocations: 50.25 kB / 0.9977 GB, free: 7.766 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.501e-05/0.245, allocations: 23.38 kB / 0.9977 GB, free: 7.742 MB / 0.6198 GB Notification: Performance of SimCode: time 1.934e-06/0.245, allocations: 0 / 0.9977 GB, free: 7.742 MB / 0.6198 GB Notification: Performance of Templates: time 0.01187/0.2569, allocations: 2.428 MB / 1 GB, free: 5.344 MB / 0.6198 GB