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.644/1.644, allocations: 288.4 MB / 304.3 MB, free: 8.09 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.001109/0.001109, allocations: 173.5 kB / 372.9 MB, free: 10.16 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.513/1.513, allocations: 205.4 MB / 0.6316 GB, free: 9.926 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.0007888/0.0007883, allocations: 84.25 kB / 0.745 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004235/0.0004237, allocations: 12.38 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.2774, allocations: 115.3 MB / 0.9807 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.005034/0.2824, allocations: 3.806 MB / 0.9844 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003396/0.2859, allocations: 1.747 MB / 0.9862 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002609/0.2862, allocations: 4 kB / 0.9862 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002872/0.2865, allocations: 75.42 kB / 0.9862 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006752/0.2872, allocations: 234.8 kB / 0.9865 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007057/0.2879, allocations: 213.3 kB / 0.9867 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006891/0.2886, allocations: 0.6852 MB / 0.9873 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005072/0.2891, allocations: 439.5 kB / 0.9877 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002156/0.2893, allocations: 199.2 kB / 0.9879 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004182/0.2898, allocations: 255 kB / 0.9882 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.304e-05/0.2898, allocations: 20 kB / 0.9882 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004835/0.2903, allocations: 287.4 kB / 0.9885 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001274/0.2905, allocations: 139.5 kB / 0.9886 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002216/0.2907, allocations: 204.8 kB / 0.9888 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004857/0.2912, allocations: 475 kB / 0.9893 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.2912, allocations: 4 kB / 0.9893 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.214e-06/0.2912, allocations: 0 / 0.9893 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.2912, allocations: 4 kB / 0.9893 GB, free: 18.57 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.001103/0.2923, allocations: 0.6512 MB / 0.9899 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.2924, allocations: 8.031 kB / 0.9899 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001313/0.2937, allocations: 156.2 kB / 0.9901 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004738/0.2942, allocations: 322.6 kB / 0.9904 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.462e-05/0.2943, allocations: 33.34 kB / 0.9904 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.208e-05/0.2943, allocations: 36.38 kB / 0.9904 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000898/0.2952, allocations: 0.5278 MB / 0.9909 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.2953, allocations: 3.938 kB / 0.9909 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.932e-05/0.2953, allocations: 16 kB / 0.991 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-05/0.2954, allocations: 36.62 kB / 0.991 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006961/0.2961, allocations: 382.3 kB / 0.9914 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002535/0.2986, allocations: 2.411 MB / 0.9937 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005989/0.2993, allocations: 270.5 kB / 0.994 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001935/0.2995, allocations: 108.8 kB / 0.9941 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.2995, allocations: 4 kB / 0.9941 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.2996, allocations: 38.5 kB / 0.9941 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 2.144e-06/0.2996, allocations: 0 / 0.9941 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.002416/0.302, allocations: 1.128 MB / 0.9952 GB, free: 12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.484e-05/0.302, allocations: 51.41 kB / 0.9953 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003286/0.3024, allocations: 296.5 kB / 0.9956 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.3024, allocations: 29.7 kB / 0.9956 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.3025, allocations: 235.5 kB / 0.9958 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.846e-05/0.3026, allocations: 82.84 kB / 0.9959 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.052e-05/0.3026, allocations: 12 kB / 0.9959 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.78e-05/0.3027, allocations: 342.7 kB / 0.9962 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002002/0.3029, allocations: 100.6 kB / 0.9963 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002495/0.3032, allocations: 191.8 kB / 0.9965 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004526/0.3037, allocations: 310 kB / 0.9968 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3037, allocations: 0 / 0.9968 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00088/0.3046, allocations: 437.8 kB / 0.9972 GB, free: 9.824 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.3046, allocations: 8 kB / 0.9972 GB, free: 9.816 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.3046, allocations: 0 / 0.9972 GB, free: 9.816 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004195/0.305, allocations: 106.8 kB / 0.9973 GB, free: 9.703 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000354/0.3054, allocations: 63.91 kB / 0.9974 GB, free: 9.641 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00272/0.3081, allocations: 4.079 MB / 1.001 GB, free: 5.156 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002835/0.3084, allocations: 8 kB / 1.001 GB, free: 5.148 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.504e-05/0.3085, allocations: 12 kB / 1.001 GB, free: 5.137 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.0002269/0.3087, allocations: 189.7 kB / 1.002 GB, free: 4.941 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.328e-05/0.3088, allocations: 31.81 kB / 1.002 GB, free: 4.91 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.523e-05/0.3089, allocations: 34.31 kB / 1.002 GB, free: 4.875 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.3089, allocations: 4.141 kB / 1.002 GB, free: 4.871 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.3089, allocations: 0 / 1.002 GB, free: 4.871 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.309, allocations: 128.7 kB / 1.002 GB, free: 4.727 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.244e-05/0.3091, allocations: 4 kB / 1.002 GB, free: 4.723 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002671/0.3094, allocations: 12 kB / 1.002 GB, free: 4.711 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.276e-05/0.3094, allocations: 19.91 kB / 1.002 GB, free: 4.691 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000987/0.3104, allocations: 446 kB / 1.002 GB, free: 4.242 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0006455/0.3111, allocations: 0.5176 MB / 1.003 GB, free: 3.707 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001685/0.3113, allocations: 99.78 kB / 1.003 GB, free: 3.609 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000219/0.3115, allocations: 203.1 kB / 1.003 GB, free: 3.41 MB / 0.6198 GB Notification: Performance of Backend: time 5.01e-07/0.3115, allocations: 0 / 1.003 GB, free: 3.41 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001533/0.3131, allocations: 0.7445 MB / 1.004 GB, free: 2.621 MB / 0.6198 GB Notification: Performance of SimCode: time 0.001543/0.3146, allocations: 1.377 MB / 1.005 GB, free: 1.207 MB / 0.6198 GB Notification: Performance of Templates: time 0.01297/0.3276, allocations: 5.317 MB / 1.01 GB, free: 11.93 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)