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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.83/1.83, allocations: 292.3 MB / 308.1 MB, free: 4.273 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.001572/0.001573, allocations: 188.4 kB / 376.9 MB, free: 1.805 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.559/1.559, allocations: 205.1 MB / 0.6354 GB, free: 9.797 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001101/0.001101, allocations: 100.2 kB / 0.748 GB, free: 61.25 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001022/0.001023, allocations: 51.92 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2667, allocations: 114.5 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.005145/0.2719, allocations: 3.103 MB / 0.9853 GB, free: 7.273 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002144/0.274, allocations: 1.337 MB / 0.9866 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001797/0.2743, allocations: 4 kB / 0.9866 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.2753, allocations: 322.9 kB / 0.9869 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0003816/0.2757, allocations: 147.3 kB / 0.987 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003561/0.276, allocations: 119.8 kB / 0.9871 GB, free: 5.344 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0005064/0.2765, allocations: 434.8 kB / 0.9875 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000313/0.2769, allocations: 148.3 kB / 0.9877 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001705/0.277, allocations: 111.6 kB / 0.9878 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003156/0.2774, allocations: 139.5 kB / 0.9879 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.659e-05/0.2774, allocations: 16 kB / 0.9879 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003535/0.2778, allocations: 207.5 kB / 0.9881 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.2779, allocations: 75.8 kB / 0.9882 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001353/0.2781, allocations: 111.5 kB / 0.9883 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004366/0.2785, allocations: 343.2 kB / 0.9886 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2785, allocations: 0 / 0.9886 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.52e-07/0.2785, allocations: 0 / 0.9886 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.223e-06/0.2785, allocations: 0 / 0.9886 GB, free: 3.785 MB / 0.7136 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.0009059/0.2794, allocations: 0.5146 MB / 0.9891 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.2795, allocations: 11.97 kB / 0.9892 GB, free: 3.207 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000582/0.2801, allocations: 76.67 kB / 0.9892 GB, free: 3.133 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003097/0.2804, allocations: 239.9 kB / 0.9895 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.2804, allocations: 12.75 kB / 0.9895 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.092e-05/0.2805, allocations: 24.36 kB / 0.9895 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004283/0.2809, allocations: 295.6 kB / 0.9898 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.2809, allocations: 3.938 kB / 0.9898 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.751e-05/0.281, allocations: 12 kB / 0.9898 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.152e-05/0.281, allocations: 16.36 kB / 0.9898 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000297/0.2813, allocations: 193 kB / 0.99 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001585/0.2829, allocations: 1.475 MB / 0.9914 GB, free: 0.6562 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002838/0.2832, allocations: 175.7 kB / 0.9916 GB, free: 468 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.563e-05/0.2833, allocations: 32.84 kB / 0.9916 GB, free: 432 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.947e-05/0.2833, allocations: 11.94 kB / 0.9916 GB, free: 420 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.2833, allocations: 34.62 kB / 0.9917 GB, free: 376 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.2833, allocations: 0 / 0.9917 GB, free: 376 kB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0004942/0.2838, allocations: 215.5 kB / 0.9919 GB, free: 132 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.2839, allocations: 55.41 kB / 0.9919 GB, free: 64 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002081/0.2841, allocations: 198.3 kB / 0.9921 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.2841, allocations: 33.64 kB / 0.9922 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 9.934e-05/0.2842, allocations: 171.7 kB / 0.9923 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.683e-05/0.2843, allocations: 19.72 kB / 0.9923 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.653e-05/0.2843, allocations: 41.55 kB / 0.9924 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.2844, allocations: 330.8 kB / 0.9927 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.949e-05/0.2845, allocations: 31.98 kB / 0.9927 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.9e-05/0.2846, allocations: 100.6 kB / 0.9928 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001675/0.2848, allocations: 144.4 kB / 0.993 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.2848, allocations: 4 kB / 0.993 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003058/0.2851, allocations: 186.3 kB / 0.9931 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.2851, allocations: 4 kB / 0.9931 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.2852, allocations: 4 kB / 0.9931 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001493/0.2853, allocations: 28.78 kB / 0.9932 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.2854, allocations: 27.98 kB / 0.9932 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001018/0.2865, allocations: 1.319 MB / 0.9945 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/0.2866, allocations: 23.8 kB / 0.9945 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.2866, allocations: 7.984 kB / 0.9945 GB, free: 13.17 MB / 0.7292 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.0001423/0.2868, allocations: 157.9 kB / 0.9947 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.728e-05/0.2868, allocations: 15.84 kB / 0.9947 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.251e-05/0.2868, allocations: 17.41 kB / 0.9947 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.2868, allocations: 0 / 0.9947 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.2869, allocations: 0 / 0.9947 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.2869, allocations: 3.984 kB / 0.9947 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00051/0.2874, allocations: 451.1 kB / 0.9951 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.2874, allocations: 0 / 0.9951 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.833e-05/0.2874, allocations: 15.98 kB / 0.9951 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.3e-05/0.2875, allocations: 20.84 kB / 0.9952 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.2875, allocations: 0 / 0.9952 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008875/0.2884, allocations: 1.312 MB / 0.9964 GB, free: 11 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/0.2884, allocations: 7.875 kB / 0.9965 GB, free: 10.99 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004641/0.2889, allocations: 0.7987 MB / 0.9972 GB, free: 10.13 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.247e-05/0.289, allocations: 101.1 kB / 0.9973 GB, free: 10.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.289, allocations: 0 / 0.9973 GB, free: 10.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.2891, allocations: 4 kB / 0.9973 GB, free: 10.01 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.22e-05/0.2892, allocations: 15.92 kB / 0.9973 GB, free: 9.992 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/0.2892, allocations: 0 / 0.9973 GB, free: 9.992 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001153/0.2893, allocations: 148.3 kB / 0.9975 GB, free: 9.848 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2893, allocations: 0 / 0.9975 GB, free: 9.848 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003997/0.2897, allocations: 51.84 kB / 0.9975 GB, free: 9.797 MB / 0.7292 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 9.761e-05/0.2898, allocations: 99.25 kB / 0.9976 GB, free: 9.688 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003573/0.2902, allocations: 206.5 kB / 0.9978 GB, free: 9.473 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2902, allocations: 0 / 0.9978 GB, free: 9.473 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001498/0.2903, allocations: 147.2 kB / 0.998 GB, free: 9.316 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/0.2907, allocations: 35.92 kB / 0.998 GB, free: 9.281 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006869/0.2914, allocations: 0.5478 MB / 0.9985 GB, free: 8.699 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.2917, allocations: 0.7517 MB / 0.9993 GB, free: 7.922 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.000108/0.2918, allocations: 29.52 kB / 0.9993 GB, free: 7.891 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.923e-05/0.2919, allocations: 15.44 kB / 0.9993 GB, free: 7.875 MB / 0.7292 GB Notification: Performance of SimCode: time 2.21e-07/0.2919, allocations: 0 / 0.9993 GB, free: 7.875 MB / 0.7292 GB Notification: Performance of Templates: time 0.004204/0.2961, allocations: 1.729 MB / 1.001 GB, free: 6.16 MB / 0.7292 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)