Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.79/1.79, allocations: 288.4 MB / 304.3 MB, free: 8.066 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.0009237/0.0009239, allocations: 192.4 kB / 372.9 MB, free: 10.15 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.537/1.537, allocations: 205.4 MB / 0.6316 GB, free: 9.918 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.0007938/0.0007938, allocations: 88.2 kB / 0.745 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005363/0.0005365, allocations: 11.91 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.266/0.2665, allocations: 115.3 MB / 0.9807 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.002814/0.2694, allocations: 2.653 MB / 0.9833 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001474/0.2709, allocations: 1.244 MB / 0.9845 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.2711, allocations: 4 kB / 0.9845 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.00017/0.2712, allocations: 31.72 kB / 0.9846 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003349/0.2716, allocations: 127.4 kB / 0.9847 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002872/0.2719, allocations: 119.7 kB / 0.9848 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002666/0.2722, allocations: 354.8 kB / 0.9851 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002912/0.2725, allocations: 229.5 kB / 0.9854 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.723e-05/0.2726, allocations: 95.62 kB / 0.9854 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002562/0.2728, allocations: 135.5 kB / 0.9856 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.464e-05/0.2729, allocations: 8 kB / 0.9856 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002692/0.2731, allocations: 203.5 kB / 0.9858 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.477e-05/0.2732, allocations: 63.8 kB / 0.9858 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.051e-05/0.2733, allocations: 121.2 kB / 0.986 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002791/0.2736, allocations: 259.6 kB / 0.9862 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.2736, allocations: 0 / 0.9862 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.565e-06/0.2736, allocations: 0 / 0.9862 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.2736, allocations: 4 kB / 0.9862 GB, free: 21.71 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.0006465/0.2743, allocations: 487 kB / 0.9867 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.2743, allocations: 8.031 kB / 0.9867 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005162/0.2749, allocations: 80.67 kB / 0.9868 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/0.2751, allocations: 251.9 kB / 0.987 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.2751, allocations: 16.73 kB / 0.987 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.198e-05/0.2752, allocations: 16.38 kB / 0.987 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003543/0.2755, allocations: 295.5 kB / 0.9873 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.2755, allocations: 0 / 0.9873 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.418e-05/0.2756, allocations: 15.98 kB / 0.9873 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.901e-05/0.2756, allocations: 16.36 kB / 0.9873 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000252/0.2759, allocations: 196.7 kB / 0.9875 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001129/0.277, allocations: 1.471 MB / 0.989 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002135/0.2772, allocations: 175.7 kB / 0.9891 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.302e-05/0.2773, allocations: 36.78 kB / 0.9892 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.175e-05/0.2773, allocations: 0 / 0.9892 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.538e-05/0.2773, allocations: 34.56 kB / 0.9892 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.2773, allocations: 0 / 0.9892 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004205/0.2778, allocations: 231.9 kB / 0.9894 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.108e-05/0.2778, allocations: 51.41 kB / 0.9895 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.2779, allocations: 198.2 kB / 0.9897 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.978e-06/0.278, allocations: 29.7 kB / 0.9897 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.356e-05/0.278, allocations: 163.6 kB / 0.9898 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.299e-05/0.278, allocations: 23.72 kB / 0.9899 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-06/0.2781, allocations: 4 kB / 0.9899 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.096e-05/0.2781, allocations: 330.8 kB / 0.9902 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.33e-05/0.2782, allocations: 39.92 kB / 0.9902 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.941e-05/0.2783, allocations: 94.12 kB / 0.9903 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.2784, allocations: 148.5 kB / 0.9905 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.2784, allocations: 0 / 0.9905 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002396/0.2787, allocations: 186.1 kB / 0.9906 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.2787, allocations: 12.22 kB / 0.9906 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.2787, allocations: 7.984 kB / 0.9907 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00015/0.2788, allocations: 28.84 kB / 0.9907 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.627e-05/0.279, allocations: 20 kB / 0.9907 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006872/0.2796, allocations: 1.327 MB / 0.992 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.2798, allocations: 11.84 kB / 0.992 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.2798, allocations: 12 kB / 0.992 GB, free: 15.17 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 0.0001001/0.2799, allocations: 146.6 kB / 0.9922 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.275e-05/0.2799, allocations: 11.81 kB / 0.9922 GB, free: 15 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.639e-05/0.28, allocations: 29.42 kB / 0.9922 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.28, allocations: 0 / 0.9922 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.28, allocations: 4 kB / 0.9922 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.769e-05/0.28, allocations: 96.94 kB / 0.9923 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.2801, allocations: 0 / 0.9923 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.825e-05/0.2802, allocations: 7.938 kB / 0.9923 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.523e-05/0.2802, allocations: 7.984 kB / 0.9923 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000195/0.2804, allocations: 197.6 kB / 0.9925 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001578/0.2806, allocations: 290.6 kB / 0.9928 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.705e-05/0.2806, allocations: 32.08 kB / 0.9928 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.275e-05/0.2807, allocations: 152.1 kB / 0.9929 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of Backend: time 6.91e-07/0.2807, allocations: 0 / 0.9929 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007821/0.2815, allocations: 359.6 kB / 0.9933 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0007362/0.2822, allocations: 0.892 MB / 0.9942 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of Templates: time 0.00486/0.2871, allocations: 2.426 MB / 0.9965 GB, free: 10.45 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1)