Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 91.67 kB / 20.95 MB, free: 3.301 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.007789/0.007789, allocations: 162 kB / 24.38 MB, free: 8.586 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9849/0.9849, allocations: 177.1 MB / 204.8 MB, free: 5.051 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.828/1.828, allocations: 389.6 MB / 0.6356 GB, free: 12.23 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel") translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0.9844 kB / 0.7755 GB, free: 5.242 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.253e-05/2.408e-05, allocations: 6.312 kB / 0.7755 GB, free: 5.234 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.003898/0.003922, allocations: 3.356 MB / 0.7788 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002222/0.006144, allocations: 1.276 MB / 0.7801 GB, free: 0.625 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001458/0.006289, allocations: 11.94 kB / 0.7801 GB, free: 0.6133 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0004327/0.006722, allocations: 135.1 kB / 0.7802 GB, free: 492 kB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.000328/0.00705, allocations: 241.2 kB / 0.7804 GB, free: 252 kB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003029/0.007353, allocations: 201.2 kB / 0.7806 GB, free: 52 kB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.000485/0.007838, allocations: 0.6383 MB / 0.7812 GB, free: 15.41 MB / 0.7449 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003559/0.008194, allocations: 354.7 kB / 0.7816 GB, free: 15.07 MB / 0.7449 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002508/0.008445, allocations: 347.2 kB / 0.7819 GB, free: 14.73 MB / 0.7449 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003462/0.008791, allocations: 240.1 kB / 0.7821 GB, free: 14.49 MB / 0.7449 GB Notification: Performance of NFPackage.collectConstants: time 4.405e-05/0.008835, allocations: 36.53 kB / 0.7822 GB, free: 14.46 MB / 0.7449 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001705/0.009006, allocations: 99.86 kB / 0.7823 GB, free: 14.36 MB / 0.7449 GB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.009115, allocations: 164.5 kB / 0.7824 GB, free: 14.2 MB / 0.7449 GB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.009228, allocations: 155.7 kB / 0.7826 GB, free: 14.05 MB / 0.7449 GB Notification: Performance of NFConvertDAE.convert: time 0.0003612/0.00959, allocations: 415.3 kB / 0.783 GB, free: 13.64 MB / 0.7449 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.009593, allocations: 0 / 0.783 GB, free: 13.64 MB / 0.7449 GB Notification: Performance of FrontEnd: time 9.92e-07/0.009594, allocations: 0 / 0.783 GB, free: 13.64 MB / 0.7449 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.009599, allocations: 1.438 kB / 0.783 GB, free: 13.64 MB / 0.7449 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.0007381/0.01034, allocations: 0.6074 MB / 0.7836 GB, free: 13.01 MB / 0.7449 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.01037, allocations: 13.34 kB / 0.7836 GB, free: 13 MB / 0.7449 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000582/0.01096, allocations: 198.1 kB / 0.7838 GB, free: 12.81 MB / 0.7449 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002894/0.01125, allocations: 259.9 kB / 0.784 GB, free: 12.54 MB / 0.7449 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.01126, allocations: 21.38 kB / 0.784 GB, free: 12.51 MB / 0.7449 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.796e-05/0.01131, allocations: 40.36 kB / 0.7841 GB, free: 12.47 MB / 0.7449 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003767/0.01169, allocations: 497.8 kB / 0.7845 GB, free: 11.92 MB / 0.7449 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.0117, allocations: 4.953 kB / 0.7846 GB, free: 11.91 MB / 0.7449 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.488e-05/0.01173, allocations: 12.38 kB / 0.7846 GB, free: 11.9 MB / 0.7449 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.081e-05/0.01177, allocations: 37.27 kB / 0.7846 GB, free: 11.87 MB / 0.7449 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001469/0.01191, allocations: 117.3 kB / 0.7847 GB, free: 11.76 MB / 0.7449 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001178/0.01309, allocations: 1.423 MB / 0.7861 GB, free: 10.29 MB / 0.7449 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005643/0.01366, allocations: 168 kB / 0.7863 GB, free: 10.12 MB / 0.7449 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.773e-05/0.0137, allocations: 37.78 kB / 0.7863 GB, free: 10.08 MB / 0.7449 GB Notification: Performance of preOpt evalFunc (simulation): time 1.024e-05/0.01371, allocations: 7.938 kB / 0.7863 GB, free: 10.07 MB / 0.7449 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.01374, allocations: 39.59 kB / 0.7863 GB, free: 10.02 MB / 0.7449 GB Notification: Performance of pre-optimization done (n=20): time 1.393e-06/0.01374, allocations: 0 / 0.7863 GB, free: 10.02 MB / 0.7449 GB Notification: Performance of matching and sorting (n=20): time 0.0005123/0.01425, allocations: 263.9 kB / 0.7866 GB, free: 9.758 MB / 0.7449 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.447e-05/0.01428, allocations: 55.34 kB / 0.7866 GB, free: 9.691 MB / 0.7449 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.01443, allocations: 260.8 kB / 0.7869 GB, free: 9.422 MB / 0.7449 GB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.01445, allocations: 29.7 kB / 0.7869 GB, free: 9.387 MB / 0.7449 GB Notification: Performance of collectInitialEqns (initialization): time 9.147e-05/0.01454, allocations: 217 kB / 0.7871 GB, free: 9.168 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 4.048e-05/0.01458, allocations: 79.28 kB / 0.7872 GB, free: 9.09 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.985e-05/0.01464, allocations: 62.41 kB / 0.7873 GB, free: 9.023 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 9.714e-05/0.01473, allocations: 338.8 kB / 0.7876 GB, free: 8.684 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.681e-05/0.01477, allocations: 23.98 kB / 0.7876 GB, free: 8.66 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.935e-05/0.01486, allocations: 116.4 kB / 0.7877 GB, free: 8.512 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.015, allocations: 167.9 kB / 0.7879 GB, free: 8.316 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.01501, allocations: 3.984 kB / 0.7879 GB, free: 8.312 MB / 0.7449 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002601/0.01527, allocations: 224.4 kB / 0.7881 GB, free: 8.086 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.01528, allocations: 4 kB / 0.7881 GB, free: 8.082 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.01529, allocations: 4 kB / 0.7881 GB, free: 8.078 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002363/0.01552, allocations: 82.12 kB / 0.7882 GB, free: 7.996 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000161/0.01568, allocations: 67.91 kB / 0.7883 GB, free: 7.93 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001229/0.01691, allocations: 2.415 MB / 0.7906 GB, free: 5.328 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.456e-05/0.01701, allocations: 27.8 kB / 0.7906 GB, free: 5.301 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.01702, allocations: 12 kB / 0.7906 GB, free: 5.289 MB / 0.7449 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 (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.039e-05/0.01711, allocations: 134.9 kB / 0.7908 GB, free: 5.148 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.058e-05/0.01714, allocations: 23.97 kB / 0.7908 GB, free: 5.125 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.541e-05/0.01718, allocations: 34.11 kB / 0.7908 GB, free: 5.09 MB / 0.7449 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.01718, allocations: 7.938 kB / 0.7908 GB, free: 5.082 MB / 0.7449 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.01718, allocations: 0 / 0.7908 GB, free: 5.082 MB / 0.7449 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.01719, allocations: 1.438 kB / 0.7908 GB, free: 5.082 MB / 0.7449 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.01736, allocations: 169.7 kB / 0.791 GB, free: 4.898 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.01737, allocations: 0 / 0.791 GB, free: 4.898 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.01748, allocations: 44.97 kB / 0.791 GB, free: 4.855 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001684/0.01765, allocations: 69.84 kB / 0.7911 GB, free: 4.785 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.01766, allocations: 4 kB / 0.7911 GB, free: 4.781 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001273/0.01893, allocations: 2.425 MB / 0.7935 GB, free: 2.164 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.01893, allocations: 0 / 0.7935 GB, free: 2.164 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002417/0.01918, allocations: 281.2 kB / 0.7938 GB, free: 1.867 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 5.518e-05/0.01923, allocations: 39.78 kB / 0.7938 GB, free: 1.828 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.01925, allocations: 4.625 kB / 0.7938 GB, free: 1.824 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.254e-05/0.01933, allocations: 22.11 kB / 0.7938 GB, free: 1.805 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.236e-05/0.01935, allocations: 11.92 kB / 0.7938 GB, free: 1.793 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.01936, allocations: 11.98 kB / 0.7938 GB, free: 1.781 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 6.242e-05/0.01943, allocations: 82.78 kB / 0.7939 GB, free: 1.699 MB / 0.7449 GB Notification: Performance of sort global known variables: time 4e-08/0.01943, allocations: 0 / 0.7939 GB, free: 1.699 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.0002396/0.01967, allocations: 112.7 kB / 0.794 GB, free: 1.59 MB / 0.7449 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001087/0.01978, allocations: 90.3 kB / 0.7941 GB, free: 1.496 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.0003308/0.02011, allocations: 362.4 kB / 0.7945 GB, free: 1.117 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/0.02011, allocations: 4 kB / 0.7945 GB, free: 1.113 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 0.0001562/0.02027, allocations: 286.8 kB / 0.7947 GB, free: 0.8047 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002449/0.02052, allocations: 71.31 kB / 0.7948 GB, free: 0.7344 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008931/0.02141, allocations: 0.6385 MB / 0.7954 GB, free: 92 kB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.929e-05/0.0215, allocations: 124.6 kB / 0.7955 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 8.947e-05/0.02159, allocations: 29.5 kB / 0.7956 GB, free: 15.92 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/0.02172, allocations: 119.8 kB / 0.7957 GB, free: 15.8 MB / 0.7605 GB Notification: Performance of SimCode: time 6.31e-07/0.02172, allocations: 0.7812 kB / 0.7957 GB, free: 15.8 MB / 0.7605 GB Notification: Performance of Templates: time 0.005987/0.02771, allocations: 4.091 MB / 0.7997 GB, free: 11.86 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & (cd run_cvode && ../Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel_gbode.pipe ; mkfifo Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel_ida.pipe ; mkfifo Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.97053702455014]