Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.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.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel") translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.819/1.819, allocations: 288.3 MB / 303.2 MB, free: 8.137 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.001053/0.001053, allocations: 178 kB / 371.8 MB, free: 10.3 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.6306 GB, free: 10.06 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.00106/0.00106, allocations: 94.92 kB / 0.7439 GB, free: 5.973 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000429/0.0004291, allocations: 19.89 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2714, allocations: 115.3 MB / 0.9794 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.004416/0.2759, allocations: 3.69 MB / 0.983 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002484/0.2784, allocations: 1.724 MB / 0.9847 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003665/0.2788, allocations: 4 kB / 0.9847 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002819/0.2791, allocations: 75.52 kB / 0.9848 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006721/0.2798, allocations: 187.4 kB / 0.985 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005857/0.2804, allocations: 197.4 kB / 0.9851 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005521/0.2809, allocations: 351.3 kB / 0.9855 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004377/0.2814, allocations: 388.9 kB / 0.9858 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002799/0.2817, allocations: 179.4 kB / 0.986 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003763/0.2821, allocations: 183.3 kB / 0.9862 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.656e-05/0.2821, allocations: 20 kB / 0.9862 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002994/0.2824, allocations: 119.8 kB / 0.9863 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.897e-05/0.2825, allocations: 111.7 kB / 0.9864 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.612e-05/0.2827, allocations: 97.52 kB / 0.9865 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004436/0.2831, allocations: 451.1 kB / 0.987 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2831, allocations: 0 / 0.987 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2831, allocations: 3.938 kB / 0.987 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.664e-05/0.2831, allocations: 8 kB / 0.987 GB, free: 19.93 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001119/0.2843, allocations: 0.6589 MB / 0.9876 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.2843, allocations: 16.02 kB / 0.9876 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001014/0.2853, allocations: 163.2 kB / 0.9878 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005092/0.2859, allocations: 317.4 kB / 0.9881 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.2859, allocations: 25 kB / 0.9881 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.482e-05/0.286, allocations: 36 kB / 0.9881 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006729/0.2866, allocations: 0.5236 MB / 0.9887 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.2867, allocations: 4 kB / 0.9887 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.211e-05/0.2867, allocations: 20 kB / 0.9887 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-05/0.2868, allocations: 28.64 kB / 0.9887 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005044/0.2873, allocations: 386.3 kB / 0.9891 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002129/0.2894, allocations: 2.419 MB / 0.9914 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004816/0.2899, allocations: 259.2 kB / 0.9917 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.2899, allocations: 352 / 0.9917 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.29, allocations: 46.44 kB / 0.9917 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 1.142e-06/0.29, allocations: 0 / 0.9917 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.001961/0.2919, allocations: 1.124 MB / 0.9928 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.292, allocations: 55.41 kB / 0.9929 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002627/0.2922, allocations: 300.5 kB / 0.9932 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.2923, allocations: 33.7 kB / 0.9932 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.2924, allocations: 231.5 kB / 0.9934 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.739e-05/0.2924, allocations: 82.84 kB / 0.9935 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.342e-05/0.2925, allocations: 4 kB / 0.9935 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.218e-05/0.2925, allocations: 346.8 kB / 0.9938 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.2927, allocations: 96.61 kB / 0.9939 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001661/0.2929, allocations: 187.7 kB / 0.9941 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001795/0.293, allocations: 134.9 kB / 0.9942 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.293, allocations: 0 / 0.9942 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006979/0.2938, allocations: 442.6 kB / 0.9947 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.2938, allocations: 8 kB / 0.9947 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.2938, allocations: 352 / 0.9947 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003512/0.2942, allocations: 102.5 kB / 0.9948 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002574/0.2944, allocations: 63.89 kB / 0.9948 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002195/0.2966, allocations: 4.107 MB / 0.9988 GB, free: 6.809 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002096/0.2969, allocations: 8 kB / 0.9988 GB, free: 6.801 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.102e-05/0.2969, allocations: 12 kB / 0.9989 GB, free: 6.789 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (34): * Single equations (assignments): 31 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001713/0.2971, allocations: 189.9 kB / 0.999 GB, free: 6.594 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.128e-05/0.2971, allocations: 27.72 kB / 0.9991 GB, free: 6.566 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.004e-05/0.2972, allocations: 42.27 kB / 0.9991 GB, free: 6.527 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2972, allocations: 0 / 0.9991 GB, free: 6.527 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.2972, allocations: 4 kB / 0.9991 GB, free: 6.523 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.2972, allocations: 0 / 0.9991 GB, free: 6.523 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003817/0.2976, allocations: 401.3 kB / 0.9995 GB, free: 6.082 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.2976, allocations: 4 kB / 0.9995 GB, free: 6.078 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001727/0.2978, allocations: 27.98 kB / 0.9995 GB, free: 6.051 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002608/0.2981, allocations: 98.67 kB / 0.9996 GB, free: 5.945 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.2981, allocations: 8 kB / 0.9996 GB, free: 5.938 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002029/0.3001, allocations: 4.103 MB / 1.004 GB, free: 1.434 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3002, allocations: 0 / 1.004 GB, free: 1.434 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006405/0.3008, allocations: 0.5559 MB / 1.004 GB, free: 0.8555 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.3009, allocations: 124.7 kB / 1.004 GB, free: 0.7148 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.626e-05/0.301, allocations: 7.938 kB / 1.004 GB, free: 0.707 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/0.3012, allocations: 15.95 kB / 1.004 GB, free: 0.6914 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.72e-05/0.3012, allocations: 19.97 kB / 1.004 GB, free: 0.6719 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.3012, allocations: 4 kB / 1.004 GB, free: 0.668 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001537/0.3014, allocations: 211.1 kB / 1.005 GB, free: 476 kB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3014, allocations: 4.062 kB / 1.005 GB, free: 472 kB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004413/0.3019, allocations: 96 kB / 1.005 GB, free: 376 kB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (18): * Single equations (assignments): 15 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001088/0.302, allocations: 99.25 kB / 1.005 GB, free: 268 kB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007927/0.3028, allocations: 0.6134 MB / 1.005 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.3028, allocations: 0 / 1.005 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004928/0.3033, allocations: 476.3 kB / 1.006 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003926/0.3037, allocations: 68.64 kB / 1.006 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.305, allocations: 0.8502 MB / 1.007 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004349/0.3055, allocations: 0.8465 MB / 1.007 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002401/0.3057, allocations: 58.92 kB / 1.008 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.098e-05/0.3058, allocations: 23.44 kB / 1.008 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of SimCode: time 2.2e-07/0.3058, allocations: 4 kB / 1.008 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of Templates: time 0.008462/0.3143, allocations: 4.085 MB / 1.012 GB, free: 9.164 MB / 0.6355 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)