Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.81/1.81, allocations: 287.5 MB / 302.6 MB, free: 8.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001302/0.001302, allocations: 174.5 kB / 371.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.608/1.608, allocations: 205.4 MB / 0.6298 GB, free: 10.53 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009843/0.0009843, allocations: 98.88 kB / 0.7432 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004569/0.0004571, allocations: 18.28 kB / 0.8661 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.22, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.002932/0.223, allocations: 2.664 MB / 0.9813 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001702/0.2247, allocations: 1.229 MB / 0.9825 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002044/0.225, allocations: 4 kB / 0.9825 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002269/0.2252, allocations: 35.7 kB / 0.9825 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000527/0.2257, allocations: 119.4 kB / 0.9826 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004706/0.2262, allocations: 95.75 kB / 0.9827 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004991/0.2267, allocations: 358.9 kB / 0.9831 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004179/0.2272, allocations: 229.5 kB / 0.9833 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002442/0.2274, allocations: 99.56 kB / 0.9834 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004564/0.2279, allocations: 127.6 kB / 0.9835 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.113e-05/0.2279, allocations: 12 kB / 0.9835 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003446/0.2283, allocations: 79.88 kB / 0.9836 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.2284, allocations: 75.78 kB / 0.9837 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.917e-05/0.2285, allocations: 61.58 kB / 0.9837 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004467/0.229, allocations: 251.6 kB / 0.984 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.229, allocations: 0 / 0.984 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.475e-06/0.229, allocations: 0 / 0.984 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.204e-05/0.229, allocations: 4 kB / 0.984 GB, free: 22.73 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007975/0.2298, allocations: 495 kB / 0.9844 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.2299, allocations: 8.031 kB / 0.9844 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005292/0.2304, allocations: 76.67 kB / 0.9845 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002833/0.2307, allocations: 242.2 kB / 0.9847 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.2308, allocations: 12.75 kB / 0.9848 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.991e-05/0.2308, allocations: 16.38 kB / 0.9848 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004194/0.2312, allocations: 307.2 kB / 0.9851 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.2312, allocations: 0 / 0.9851 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.369e-05/0.2313, allocations: 8 kB / 0.9851 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.611e-05/0.2313, allocations: 28.34 kB / 0.9851 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002842/0.2316, allocations: 192.9 kB / 0.9853 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001404/0.233, allocations: 1.464 MB / 0.9867 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.2332, allocations: 175.7 kB / 0.9869 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.037e-05/0.2333, allocations: 32.8 kB / 0.9869 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.695e-06/0.2333, allocations: 0 / 0.9869 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.832e-05/0.2333, allocations: 46.55 kB / 0.987 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.2333, allocations: 0 / 0.987 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004292/0.2338, allocations: 215.5 kB / 0.9872 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.34e-05/0.2338, allocations: 55.41 kB / 0.9872 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.234, allocations: 206.1 kB / 0.9874 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.234, allocations: 25.7 kB / 0.9874 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.073e-05/0.2341, allocations: 159.6 kB / 0.9876 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.2341, allocations: 31.84 kB / 0.9876 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.761e-06/0.2341, allocations: 4 kB / 0.9876 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.512e-05/0.2342, allocations: 326.8 kB / 0.9879 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.22e-05/0.2342, allocations: 31.98 kB / 0.988 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.138e-05/0.2343, allocations: 111 kB / 0.9881 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.2344, allocations: 148.4 kB / 0.9882 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2344, allocations: 0 / 0.9882 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002551/0.2347, allocations: 186.1 kB / 0.9884 GB, free: 17.74 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.2347, allocations: 4.281 kB / 0.9884 GB, free: 17.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.2347, allocations: 8 kB / 0.9884 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001505/0.2349, allocations: 24.84 kB / 0.9884 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.87e-05/0.235, allocations: 31.92 kB / 0.9885 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007056/0.2357, allocations: 1.323 MB / 0.9897 GB, free: 16.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.2358, allocations: 19.84 kB / 0.9898 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.2358, allocations: 7.984 kB / 0.9898 GB, free: 16.19 MB / 0.6198 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 9.39e-05/0.2359, allocations: 148.8 kB / 0.9899 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.378e-05/0.236, allocations: 23.84 kB / 0.9899 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.253e-05/0.236, allocations: 17.41 kB / 0.99 GB, free: 16 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.236, allocations: 0 / 0.99 GB, free: 16 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.236, allocations: 3.984 kB / 0.99 GB, free: 16 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.236, allocations: 0 / 0.99 GB, free: 16 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003695/0.2364, allocations: 443.2 kB / 0.9904 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.2364, allocations: 0 / 0.9904 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.599e-05/0.2365, allocations: 11.98 kB / 0.9904 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.109e-05/0.2365, allocations: 24.84 kB / 0.9904 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-06/0.2366, allocations: 0 / 0.9904 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005919/0.2372, allocations: 1.315 MB / 0.9917 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.2372, allocations: 7.875 kB / 0.9917 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001669/0.2373, allocations: 204.2 kB / 0.9919 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.14e-05/0.2374, allocations: 101 kB / 0.992 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.2374, allocations: 3.938 kB / 0.992 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.2375, allocations: 4.094 kB / 0.992 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.098e-05/0.2376, allocations: 19.95 kB / 0.992 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.2376, allocations: 8 kB / 0.992 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.548e-05/0.2377, allocations: 148.1 kB / 0.9922 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2377, allocations: 0 / 0.9922 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002846/0.238, allocations: 51.84 kB / 0.9922 GB, free: 13.44 MB / 0.6198 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 9.332e-05/0.2381, allocations: 95.25 kB / 0.9923 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003198/0.2384, allocations: 210.5 kB / 0.9925 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2384, allocations: 0 / 0.9925 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.2386, allocations: 150.6 kB / 0.9927 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/0.2389, allocations: 24.55 kB / 0.9927 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005851/0.2395, allocations: 427.4 kB / 0.9931 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000215/0.2397, allocations: 0.7516 MB / 0.9938 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001114/0.2399, allocations: 22.17 kB / 0.9938 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.09e-05/0.2399, allocations: 15.44 kB / 0.9939 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of SimCode: time 9.22e-07/0.2399, allocations: 0 / 0.9939 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of Templates: time 0.003874/0.2438, allocations: 1.613 MB / 0.9954 GB, free: 10.08 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1)