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.00108/0.00108, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 191.3 kB / 16.14 MB, free: 6.703 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.409/1.409, allocations: 205.1 MB / 222 MB, free: 4.75 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.675/1.675, allocations: 292.2 MB / 0.5484 GB, free: 13.67 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.001334/0.001334, allocations: 68.12 kB / 0.6708 GB, free: 26.51 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2671/0.2684, allocations: 114.6 MB / 0.7827 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.004831/0.2733, allocations: 3.112 MB / 0.7857 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001983/0.2753, allocations: 1.322 MB / 0.787 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000133/0.2755, allocations: 15.88 kB / 0.787 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009555/0.2765, allocations: 310.9 kB / 0.7873 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003407/0.2768, allocations: 135.4 kB / 0.7874 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003208/0.2772, allocations: 127.7 kB / 0.7876 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003912/0.2776, allocations: 434.9 kB / 0.788 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002859/0.2779, allocations: 156.3 kB / 0.7881 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.278, allocations: 111.5 kB / 0.7882 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002494/0.2782, allocations: 131.5 kB / 0.7884 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.084e-05/0.2783, allocations: 16 kB / 0.7884 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003123/0.2786, allocations: 211.5 kB / 0.7886 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.089e-05/0.2787, allocations: 71.81 kB / 0.7886 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000109/0.2788, allocations: 111.5 kB / 0.7888 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000365/0.2792, allocations: 335.2 kB / 0.7891 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2792, allocations: 0 / 0.7891 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2792, allocations: 4 kB / 0.7891 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.2792, allocations: 0 / 0.7891 GB, free: 7.418 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.0008975/0.2801, allocations: 0.5108 MB / 0.7896 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.2801, allocations: 12.03 kB / 0.7896 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005692/0.2807, allocations: 76.58 kB / 0.7897 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002715/0.281, allocations: 247.9 kB / 0.7899 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.281, allocations: 12.75 kB / 0.7899 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.995e-05/0.2811, allocations: 16.38 kB / 0.7899 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004833/0.2816, allocations: 311 kB / 0.7902 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.2816, allocations: 0 / 0.7902 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.391e-05/0.2816, allocations: 11.94 kB / 0.7902 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-05/0.2816, allocations: 20.36 kB / 0.7903 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002915/0.2819, allocations: 197 kB / 0.7904 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001489/0.2834, allocations: 1.46 MB / 0.7919 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002842/0.2837, allocations: 183.6 kB / 0.792 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.932e-05/0.2838, allocations: 28.84 kB / 0.7921 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.2838, allocations: 7.938 kB / 0.7921 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.2839, allocations: 38.56 kB / 0.7921 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.2839, allocations: 0 / 0.7921 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0005219/0.2844, allocations: 231.3 kB / 0.7923 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.2845, allocations: 51.41 kB / 0.7924 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.2846, allocations: 200.1 kB / 0.7926 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.2847, allocations: 25.7 kB / 0.7926 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.634e-05/0.2848, allocations: 163.6 kB / 0.7928 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.829e-05/0.2848, allocations: 19.72 kB / 0.7928 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.574e-05/0.2849, allocations: 41.7 kB / 0.7928 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.285, allocations: 326.8 kB / 0.7931 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.302e-05/0.285, allocations: 40.05 kB / 0.7932 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.194e-05/0.2851, allocations: 100.5 kB / 0.7933 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002164/0.2854, allocations: 152.5 kB / 0.7934 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2854, allocations: 4 kB / 0.7934 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000291/0.2857, allocations: 186.2 kB / 0.7936 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.2857, allocations: 4 kB / 0.7936 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.2857, allocations: 4.281 kB / 0.7936 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001735/0.2859, allocations: 24.84 kB / 0.7936 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.286, allocations: 31.98 kB / 0.7936 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00102/0.287, allocations: 1.319 MB / 0.7949 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.2872, allocations: 19.83 kB / 0.795 GB, free: 0.7969 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.2872, allocations: 11.94 kB / 0.795 GB, free: 0.7852 MB / 0.6075 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.000131/0.2873, allocations: 137.8 kB / 0.7951 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.89e-05/0.2874, allocations: 19.75 kB / 0.7951 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.862e-05/0.2874, allocations: 21.48 kB / 0.7951 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.2874, allocations: 8.031 kB / 0.7951 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.2874, allocations: 3.938 kB / 0.7951 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.2874, allocations: 4 kB / 0.7952 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004946/0.2879, allocations: 443.5 kB / 0.7956 GB, free: 100 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.2879, allocations: 3.984 kB / 0.7956 GB, free: 96 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.629e-05/0.288, allocations: 8 kB / 0.7956 GB, free: 88 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.231e-05/0.2881, allocations: 20.84 kB / 0.7956 GB, free: 64 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.2881, allocations: 8 kB / 0.7956 GB, free: 56 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000929/0.289, allocations: 1.308 MB / 0.7969 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.289, allocations: 8 kB / 0.7969 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002248/0.2893, allocations: 212.1 kB / 0.7971 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 6.704e-05/0.2893, allocations: 100.9 kB / 0.7972 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.2894, allocations: 3.938 kB / 0.7972 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.2895, allocations: 4 kB / 0.7972 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.428e-05/0.2895, allocations: 11.98 kB / 0.7972 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.2895, allocations: 4 kB / 0.7972 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001403/0.2897, allocations: 152.1 kB / 0.7974 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2897, allocations: 0 / 0.7974 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003227/0.29, allocations: 47.84 kB / 0.7974 GB, free: 14.05 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.000119/0.2901, allocations: 103.2 kB / 0.7975 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003535/0.2905, allocations: 210.7 kB / 0.7977 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2905, allocations: 0 / 0.7977 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002312/0.2908, allocations: 146.6 kB / 0.7978 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.2911, allocations: 28.92 kB / 0.7979 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006602/0.2918, allocations: 446 kB / 0.7983 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.2921, allocations: 0.7439 MB / 0.799 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 9.153e-05/0.2922, allocations: 21.55 kB / 0.799 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.094e-05/0.2923, allocations: 15.44 kB / 0.7991 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of SimCode: time 2.41e-07/0.2923, allocations: 0 / 0.7991 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of Templates: time 0.004391/0.2967, allocations: 1.689 MB / 0.8007 GB, free: 10.61 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)