Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance") translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.384/1.384, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001098/0.001098, allocations: 170.4 kB / 326.5 MB, free: 2.691 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.579/1.579, allocations: 205 MB / 0.5766 GB, free: 20.99 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008237/0.0008237, allocations: 88.06 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003233/0.0003233, allocations: 9.531 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1765, allocations: 105.4 MB / 0.8967 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.003022/0.1796, allocations: 2.778 MB / 0.8995 GB, free: 65.37 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001757/0.1814, allocations: 1.352 MB / 0.9008 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001934/0.1816, allocations: 4 kB / 0.9008 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0008869/0.1825, allocations: 307 kB / 0.9011 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000336/0.1829, allocations: 135.4 kB / 0.9012 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003263/0.1832, allocations: 127.7 kB / 0.9013 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000355/0.1836, allocations: 434.7 kB / 0.9017 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002626/0.1838, allocations: 156.3 kB / 0.9019 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001394/0.184, allocations: 107.6 kB / 0.902 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002591/0.1842, allocations: 135.5 kB / 0.9021 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.987e-05/0.1843, allocations: 8 kB / 0.9021 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002812/0.1846, allocations: 199.6 kB / 0.9023 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.728e-05/0.1847, allocations: 75.73 kB / 0.9024 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.088e-05/0.1847, allocations: 99.47 kB / 0.9025 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003134/0.1851, allocations: 334.8 kB / 0.9028 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1851, allocations: 0 / 0.9028 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1851, allocations: 0 / 0.9028 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.1851, allocations: 0 / 0.9028 GB, free: 61.93 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.0005789/0.1857, allocations: 487.2 kB / 0.9033 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.1857, allocations: 8.031 kB / 0.9033 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005222/0.1862, allocations: 84.52 kB / 0.9034 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000244/0.1865, allocations: 243.9 kB / 0.9036 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.1865, allocations: 16.75 kB / 0.9036 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.562e-05/0.1866, allocations: 16.38 kB / 0.9036 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003471/0.1869, allocations: 303.5 kB / 0.9039 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.1869, allocations: 4 kB / 0.9039 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.243e-05/0.187, allocations: 8 kB / 0.9039 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.145e-05/0.187, allocations: 20.36 kB / 0.9039 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002357/0.1872, allocations: 200.9 kB / 0.9041 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.1883, allocations: 1.46 MB / 0.9056 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000189/0.1885, allocations: 183.6 kB / 0.9057 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.473e-05/0.1885, allocations: 24.86 kB / 0.9058 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.716e-06/0.1885, allocations: 7.984 kB / 0.9058 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.412e-05/0.1886, allocations: 34.56 kB / 0.9058 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.1886, allocations: 0 / 0.9058 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003918/0.189, allocations: 227.4 kB / 0.906 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.55e-05/0.189, allocations: 51.41 kB / 0.9061 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.1891, allocations: 198.4 kB / 0.9063 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.318e-06/0.1891, allocations: 29.7 kB / 0.9063 GB, free: 58 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.528e-05/0.1892, allocations: 159.6 kB / 0.9064 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.464e-05/0.1892, allocations: 27.64 kB / 0.9065 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.427e-05/0.1893, allocations: 21.72 kB / 0.9065 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.514e-05/0.1893, allocations: 330.8 kB / 0.9068 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.007e-05/0.1894, allocations: 35.97 kB / 0.9068 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.941e-05/0.1894, allocations: 104.4 kB / 0.9069 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.1896, allocations: 148.5 kB / 0.9071 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1896, allocations: 0 / 0.9071 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002336/0.1898, allocations: 182.2 kB / 0.9073 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.1898, allocations: 8 kB / 0.9073 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1898, allocations: 0 / 0.9073 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001411/0.19, allocations: 33.12 kB / 0.9073 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.706e-05/0.1901, allocations: 27.92 kB / 0.9073 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006627/0.1908, allocations: 1.327 MB / 0.9086 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.1909, allocations: 15.78 kB / 0.9086 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.1909, allocations: 12 kB / 0.9086 GB, free: 55.36 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001006/0.191, allocations: 141.8 kB / 0.9088 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.498e-05/0.1911, allocations: 19.75 kB / 0.9088 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.515e-05/0.1911, allocations: 25.33 kB / 0.9088 GB, free: 55.17 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.1911, allocations: 4.141 kB / 0.9088 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1911, allocations: 3.984 kB / 0.9088 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.994e-05/0.1912, allocations: 96.91 kB / 0.9089 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.1912, allocations: 4 kB / 0.9089 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.1913, allocations: 0 / 0.9089 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.85e-05/0.1913, allocations: 7.984 kB / 0.9089 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002067/0.1915, allocations: 185.8 kB / 0.9091 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001668/0.1917, allocations: 298.8 kB / 0.9094 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.964e-05/0.1918, allocations: 32 kB / 0.9094 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.536e-05/0.1919, allocations: 144.2 kB / 0.9096 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of Backend: time 3.41e-07/0.1919, allocations: 0 / 0.9096 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007494/0.1926, allocations: 367.7 kB / 0.9099 GB, free: 53.99 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0007072/0.1933, allocations: 0.906 MB / 0.9108 GB, free: 53.04 MB / 0.6042 GB Notification: Performance of Templates: time 0.005221/0.1986, allocations: 2.441 MB / 0.9132 GB, free: 50.61 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1)