Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance") translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.505/2.505, allocations: 251.3 MB / 266.2 MB, free: 11.53 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.001874/0.001874, allocations: 180 kB / 325.8 MB, free: 2.801 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.518/2.518, allocations: 205.4 MB / 0.5767 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.0008575/0.0008575, allocations: 84.75 kB / 0.6812 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004874/0.0004875, allocations: 17.64 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.218, allocations: 106.3 MB / 0.899 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.005317/0.2234, allocations: 2.66 MB / 0.9016 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002567/0.226, allocations: 1.244 MB / 0.9029 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000188/0.2263, allocations: 4 kB / 0.9029 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002245/0.2265, allocations: 39.64 kB / 0.9029 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004552/0.227, allocations: 115.4 kB / 0.903 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004322/0.2274, allocations: 91.77 kB / 0.9031 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004582/0.2279, allocations: 354.8 kB / 0.9034 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003301/0.2282, allocations: 215.9 kB / 0.9036 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001546/0.2284, allocations: 99.61 kB / 0.9037 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003187/0.2287, allocations: 127.6 kB / 0.9039 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.742e-05/0.2288, allocations: 12 kB / 0.9039 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002755/0.2291, allocations: 91.81 kB / 0.904 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.643e-05/0.2292, allocations: 67.84 kB / 0.904 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.871e-05/0.2293, allocations: 61.58 kB / 0.9041 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003456/0.2296, allocations: 247.7 kB / 0.9043 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.2296, allocations: 0 / 0.9043 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.724e-06/0.2296, allocations: 0 / 0.9043 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.2297, allocations: 0 / 0.9043 GB, free: 59.99 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008223/0.2305, allocations: 487.2 kB / 0.9048 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.2305, allocations: 12.03 kB / 0.9048 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007723/0.2313, allocations: 80.58 kB / 0.9049 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003347/0.2317, allocations: 251.9 kB / 0.9051 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.2317, allocations: 12.75 kB / 0.9051 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.326e-05/0.2318, allocations: 16.38 kB / 0.9051 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005915/0.2324, allocations: 303.3 kB / 0.9054 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.2324, allocations: 4 kB / 0.9054 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.56e-05/0.2325, allocations: 4 kB / 0.9054 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.537e-05/0.2325, allocations: 20.36 kB / 0.9054 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004445/0.233, allocations: 193 kB / 0.9056 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001732/0.2347, allocations: 1.46 MB / 0.9071 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003159/0.2351, allocations: 179.7 kB / 0.9072 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.001e-05/0.2352, allocations: 32.84 kB / 0.9073 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.2352, allocations: 0 / 0.9073 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.2352, allocations: 42.61 kB / 0.9073 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.2352, allocations: 0 / 0.9073 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0006112/0.2358, allocations: 231.5 kB / 0.9075 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.687e-05/0.2359, allocations: 51.41 kB / 0.9076 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002203/0.2361, allocations: 198.3 kB / 0.9078 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.2361, allocations: 29.7 kB / 0.9078 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.117e-05/0.2362, allocations: 159.6 kB / 0.9079 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.451e-05/0.2363, allocations: 31.55 kB / 0.908 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.043e-05/0.2363, allocations: 7.938 kB / 0.908 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.458e-05/0.2364, allocations: 330.7 kB / 0.9083 GB, free: 55.53 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.969e-05/0.2365, allocations: 35.98 kB / 0.9083 GB, free: 55.49 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.2366, allocations: 96.56 kB / 0.9084 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.2367, allocations: 55.92 kB / 0.9085 GB, free: 55.31 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.2367, allocations: 0 / 0.9085 GB, free: 55.31 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004069/0.2372, allocations: 186.4 kB / 0.9087 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.2372, allocations: 4 kB / 0.9087 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.2372, allocations: 4 kB / 0.9087 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001956/0.2374, allocations: 24.84 kB / 0.9087 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001888/0.2376, allocations: 31.92 kB / 0.9087 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009848/0.2386, allocations: 1.311 MB / 0.91 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001912/0.2388, allocations: 27.73 kB / 0.91 GB, free: 53.58 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.2389, allocations: 4.047 kB / 0.91 GB, free: 53.57 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 (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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001677/0.239, allocations: 153.9 kB / 0.9102 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.611e-05/0.2391, allocations: 19.78 kB / 0.9102 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.395e-05/0.2391, allocations: 21.39 kB / 0.9102 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.2391, allocations: 0 / 0.9102 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.2392, allocations: 0 / 0.9102 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2392, allocations: 0 / 0.9102 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006368/0.2398, allocations: 451.5 kB / 0.9106 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.2398, allocations: 0 / 0.9106 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.969e-05/0.2399, allocations: 11.94 kB / 0.9107 GB, free: 52.87 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001212/0.24, allocations: 28.84 kB / 0.9107 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.2401, allocations: 0 / 0.9107 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008875/0.241, allocations: 1.311 MB / 0.912 GB, free: 51.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.241, allocations: 0 / 0.912 GB, free: 51.39 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002888/0.2413, allocations: 212.2 kB / 0.9122 GB, free: 51.16 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.113e-05/0.2414, allocations: 96.91 kB / 0.9123 GB, free: 51.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.003e-05/0.2414, allocations: 8.031 kB / 0.9123 GB, free: 51.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/0.2416, allocations: 12.03 kB / 0.9123 GB, free: 51.03 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.423e-05/0.2416, allocations: 3.984 kB / 0.9123 GB, free: 51.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.2417, allocations: 4 kB / 0.9123 GB, free: 51.02 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001474/0.2418, allocations: 148.1 kB / 0.9124 GB, free: 50.88 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.31e-07/0.2418, allocations: 3.938 kB / 0.9124 GB, free: 50.87 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004324/0.2423, allocations: 51.84 kB / 0.9125 GB, free: 50.82 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 (6): * Single equations (assignments): 5 * 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.0001135/0.2424, allocations: 99.25 kB / 0.9126 GB, free: 50.71 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004386/0.2428, allocations: 214.5 kB / 0.9128 GB, free: 50.49 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.2429, allocations: 0 / 0.9128 GB, free: 50.49 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000181/0.2431, allocations: 142.7 kB / 0.9129 GB, free: 50.34 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004806/0.2436, allocations: 32.55 kB / 0.9129 GB, free: 50.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007885/0.2444, allocations: 431.2 kB / 0.9134 GB, free: 49.86 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002318/0.2446, allocations: 0.7517 MB / 0.9141 GB, free: 49.09 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001518/0.2448, allocations: 21.53 kB / 0.9141 GB, free: 49.07 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.365e-05/0.2448, allocations: 15.44 kB / 0.9141 GB, free: 49.05 MB / 0.6042 GB Notification: Performance of SimCode: time 1.092e-06/0.2448, allocations: 4 kB / 0.9141 GB, free: 49.05 MB / 0.6042 GB Notification: Performance of Templates: time 0.006083/0.2509, allocations: 1.624 MB / 0.9157 GB, free: 47.45 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1)