Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance") translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 105.4 kB / 15.7 MB, free: 20 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 194.7 kB / 16.64 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.426/1.426, allocations: 205.1 MB / 222.5 MB, free: 4.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.867/1.867, allocations: 292.3 MB / 0.549 GB, free: 12.75 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 72.56 kB / 0.6723 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2688/0.2703, allocations: 114.5 MB / 0.7841 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.005262/0.2756, allocations: 3.07 MB / 0.7871 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00225/0.2779, allocations: 1.321 MB / 0.7884 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000154/0.2781, allocations: 7.938 kB / 0.7884 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001001/0.2791, allocations: 338.7 kB / 0.7887 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003411/0.2795, allocations: 143.2 kB / 0.7889 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003729/0.2799, allocations: 139.6 kB / 0.789 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003524/0.2802, allocations: 303.1 kB / 0.7893 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004623/0.2807, allocations: 228.3 kB / 0.7895 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.2809, allocations: 127.5 kB / 0.7896 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003037/0.2812, allocations: 143.5 kB / 0.7898 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.128e-05/0.2812, allocations: 16 kB / 0.7898 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002805/0.2815, allocations: 167.6 kB / 0.79 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.31e-05/0.2816, allocations: 79.8 kB / 0.79 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.2817, allocations: 111.5 kB / 0.7901 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003935/0.2821, allocations: 339 kB / 0.7905 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/0.2821, allocations: 0 / 0.7905 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.225e-06/0.2822, allocations: 0 / 0.7905 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.553e-06/0.2822, allocations: 0 / 0.7905 GB, free: 6.246 MB / 0.6075 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.0008538/0.283, allocations: 0.5185 MB / 0.791 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.2831, allocations: 8.031 kB / 0.791 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005987/0.2837, allocations: 84.58 kB / 0.7911 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003183/0.284, allocations: 247.9 kB / 0.7913 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.284, allocations: 12.75 kB / 0.7913 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.704e-05/0.2841, allocations: 16.38 kB / 0.7913 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004547/0.2845, allocations: 307 kB / 0.7916 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.2846, allocations: 0 / 0.7916 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.663e-05/0.2846, allocations: 12 kB / 0.7916 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.643e-05/0.2846, allocations: 16.36 kB / 0.7916 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002997/0.2849, allocations: 196.9 kB / 0.7918 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00155/0.2865, allocations: 1.46 MB / 0.7933 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002777/0.2868, allocations: 175.7 kB / 0.7934 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.894e-05/0.2868, allocations: 28.86 kB / 0.7934 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/0.2869, allocations: 3.984 kB / 0.7935 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.2869, allocations: 30.56 kB / 0.7935 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.2869, allocations: 0 / 0.7935 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004966/0.2874, allocations: 235.5 kB / 0.7937 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/0.2875, allocations: 51.41 kB / 0.7938 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002047/0.2877, allocations: 204.1 kB / 0.7939 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.2877, allocations: 29.7 kB / 0.794 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.854e-05/0.2878, allocations: 159.6 kB / 0.7941 GB, free: 2.117 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.183e-05/0.2878, allocations: 27.64 kB / 0.7942 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.271e-05/0.2879, allocations: 29.72 kB / 0.7942 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.288, allocations: 334.8 kB / 0.7945 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.103e-05/0.2881, allocations: 35.98 kB / 0.7945 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.2882, allocations: 104.4 kB / 0.7946 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001699/0.2884, allocations: 144.4 kB / 0.7948 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2884, allocations: 0 / 0.7948 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003081/0.2887, allocations: 190.1 kB / 0.795 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.2888, allocations: 8 kB / 0.795 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.2888, allocations: 7.984 kB / 0.795 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001939/0.289, allocations: 25.12 kB / 0.795 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.2891, allocations: 31.88 kB / 0.795 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001151/0.2903, allocations: 1.423 MB / 0.7964 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001286/0.2904, allocations: 15.88 kB / 0.7964 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.2904, allocations: 4 kB / 0.7964 GB, free: 15.52 MB / 0.6231 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.0001538/0.2906, allocations: 149.7 kB / 0.7966 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.986e-05/0.2906, allocations: 15.81 kB / 0.7966 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.207e-05/0.2907, allocations: 21.39 kB / 0.7966 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.2907, allocations: 4.062 kB / 0.7966 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.2907, allocations: 4 kB / 0.7966 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.597e-05/0.2907, allocations: 0 / 0.7966 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005172/0.2912, allocations: 455.1 kB / 0.7971 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.2913, allocations: 0 / 0.7971 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.617e-05/0.2913, allocations: 8 kB / 0.7971 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.126e-05/0.2914, allocations: 24.84 kB / 0.7971 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.2914, allocations: 0 / 0.7971 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000959/0.2924, allocations: 1.414 MB / 0.7985 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2924, allocations: 0 / 0.7985 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002294/0.2926, allocations: 212.5 kB / 0.7987 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.757e-05/0.2927, allocations: 96.91 kB / 0.7988 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.2927, allocations: 0 / 0.7988 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.2928, allocations: 8.094 kB / 0.7988 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3e-05/0.2929, allocations: 15.94 kB / 0.7988 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/0.2929, allocations: 0 / 0.7988 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001268/0.293, allocations: 151 kB / 0.7989 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.293, allocations: 0 / 0.7989 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000339/0.2934, allocations: 51.84 kB / 0.799 GB, free: 12.67 MB / 0.6231 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 (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 Backend phase and start with SimCode phase: time 0.0001314/0.2935, allocations: 99.23 kB / 0.7991 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003989/0.2939, allocations: 222.7 kB / 0.7993 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.2939, allocations: 0 / 0.7993 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001784/0.2941, allocations: 150.7 kB / 0.7994 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003625/0.2945, allocations: 29.48 kB / 0.7995 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006266/0.2951, allocations: 358.4 kB / 0.7998 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.2955, allocations: 0.7513 MB / 0.8005 GB, free: 11 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 9.871e-05/0.2956, allocations: 29.47 kB / 0.8006 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.408e-05/0.2956, allocations: 15.44 kB / 0.8006 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of SimCode: time 2.31e-07/0.2956, allocations: 0 / 0.8006 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of Templates: time 0.004947/0.3006, allocations: 1.743 MB / 0.8023 GB, free: 9.23 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1)