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.741/1.741, allocations: 287.4 MB / 303.2 MB, free: 8.18 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.001076/0.001076, allocations: 186.1 kB / 371.8 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.632/1.632, allocations: 205.4 MB / 0.6305 GB, free: 10.55 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.0008859/0.0008857, allocations: 97.08 kB / 0.7438 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005999/0.0006, allocations: 11.27 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2772, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.004028/0.2812, allocations: 2.653 MB / 0.9819 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002359/0.2837, allocations: 1.237 MB / 0.9831 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002118/0.2839, allocations: 3.938 kB / 0.9831 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002322/0.2842, allocations: 35.72 kB / 0.9831 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005304/0.2847, allocations: 123.4 kB / 0.9832 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004789/0.2852, allocations: 95.75 kB / 0.9833 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005016/0.2857, allocations: 350.9 kB / 0.9837 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004135/0.2861, allocations: 233.4 kB / 0.9839 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002368/0.2864, allocations: 99.56 kB / 0.984 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004047/0.2868, allocations: 123.6 kB / 0.9841 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.593e-05/0.2869, allocations: 15.98 kB / 0.9841 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003081/0.2872, allocations: 87.88 kB / 0.9842 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001601/0.2874, allocations: 71.8 kB / 0.9843 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.17e-05/0.2875, allocations: 61.58 kB / 0.9843 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004206/0.2879, allocations: 247.6 kB / 0.9845 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.288, allocations: 3.938 kB / 0.9846 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.675e-06/0.288, allocations: 0 / 0.9846 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.325e-05/0.288, allocations: 0 / 0.9846 GB, free: 22.74 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.00103/0.289, allocations: 499 kB / 0.985 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.061e-05/0.2891, allocations: 12.03 kB / 0.985 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008612/0.29, allocations: 72.67 kB / 0.9851 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003806/0.2904, allocations: 236 kB / 0.9853 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.2904, allocations: 16.75 kB / 0.9854 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.813e-05/0.2905, allocations: 20.36 kB / 0.9854 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006322/0.2911, allocations: 303.2 kB / 0.9857 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.2911, allocations: 0 / 0.9857 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.495e-05/0.2912, allocations: 8 kB / 0.9857 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.963e-05/0.2913, allocations: 20.36 kB / 0.9857 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004902/0.2918, allocations: 196.9 kB / 0.9859 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001799/0.2936, allocations: 1.471 MB / 0.9873 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003021/0.2939, allocations: 179.7 kB / 0.9875 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.687e-05/0.294, allocations: 32.84 kB / 0.9875 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.294, allocations: 0 / 0.9875 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.294, allocations: 34.56 kB / 0.9875 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.014e-06/0.2941, allocations: 0 / 0.9875 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0005973/0.2947, allocations: 223.5 kB / 0.9878 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.492e-05/0.2947, allocations: 51.41 kB / 0.9878 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002296/0.2949, allocations: 206.1 kB / 0.988 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.295, allocations: 25.7 kB / 0.988 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.425e-05/0.2951, allocations: 167.7 kB / 0.9882 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.2951, allocations: 19.72 kB / 0.9882 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.418e-06/0.2951, allocations: 8 kB / 0.9882 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.329e-05/0.2952, allocations: 322.8 kB / 0.9885 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.965e-05/0.2953, allocations: 39.97 kB / 0.9886 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.2954, allocations: 104.5 kB / 0.9887 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002106/0.2957, allocations: 140.5 kB / 0.9888 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.2957, allocations: 3.938 kB / 0.9888 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004086/0.2961, allocations: 190.1 kB / 0.989 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.2961, allocations: 10.03 kB / 0.989 GB, free: 17.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.2962, allocations: 0 / 0.989 GB, free: 17.74 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000207/0.2964, allocations: 28.84 kB / 0.989 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.2965, allocations: 28.2 kB / 0.989 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001006/0.2976, allocations: 1.327 MB / 0.9903 GB, free: 16.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001874/0.2978, allocations: 20 kB / 0.9904 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.2978, allocations: 8 kB / 0.9904 GB, free: 16.2 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.0001494/0.298, allocations: 145.8 kB / 0.9905 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.577e-05/0.298, allocations: 15.81 kB / 0.9905 GB, free: 16.03 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.474e-05/0.2981, allocations: 21.33 kB / 0.9905 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.2981, allocations: 4 kB / 0.9905 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2981, allocations: 0 / 0.9905 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.896e-05/0.2982, allocations: 96.94 kB / 0.9906 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.886e-05/0.2982, allocations: 4 kB / 0.9906 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001711/0.2984, allocations: 4 kB / 0.9906 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.13e-05/0.2984, allocations: 11.98 kB / 0.9907 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002897/0.2987, allocations: 181.7 kB / 0.9908 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002589/0.299, allocations: 302.9 kB / 0.9911 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.431e-05/0.2991, allocations: 32.02 kB / 0.9911 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001368/0.2992, allocations: 144.1 kB / 0.9913 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of Backend: time 8.82e-07/0.2993, allocations: 0 / 0.9913 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009604/0.3002, allocations: 301.5 kB / 0.9916 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of SimCode: time 0.001/0.3012, allocations: 0.8919 MB / 0.9924 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of Templates: time 0.007536/0.3088, allocations: 2.371 MB / 0.9948 GB, free: 11.59 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)